|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Virtual Tradeshows by Ziff Davis Enterprise – A Unique Opportunity to Interact with IT Experts, Access Information, and Gain Insight on Today’s Trends in Technology Learn more
|
|
#1
|
|||
|
|||
|
mysql installation
Hi
Problem in mysql installation for windows 2000 prof. The apache and php is up, but running the mysql , it says ERROR 2003 , cant connect to localhost .... appreciate you guys kind suggestion Rathaur
__________________
Rathaur ====================== Knowledge is Power |
|
#2
|
|||
|
|||
|
Rathaur,
Did a search on the mysql.com site, and came up with this: Quote:
Although it was a problem with Windows XP, it could be the same solution for you! Have you configured your my.ini/my.cnf file as well? Let me know if this works out for you.
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction Last edited by FrankieShakes : July 19th, 2002 at 05:24 PM. |
|
#3
|
|||
|
|||
|
New Problem
Thanks man ! but I never tried it. Initially I did configure the my.ini and it doesnt worked either.
Later I remove all the mysql installation and started a fresh one. What I did was unzip the mysqlwin and run the setup again. By magic it worked !! Now I have a new problem ... I have a system which is running on my PC ( the installation in my notebook ) and it works fine. But running the same system in notebook I got this error messages. Seems like I have to declare or initialize variables before using them. Warning: Use of undefined constant login - assumed 'login' in c:\www\discipline\index.php on line 9 and its bunch of them. I guess I have to set somewhere all those things , so it wont happen. Please advise .... I am using: Mysql 3.23.22-beta, PHP 4.0 , Windows NT 5.0 build 2195 and apache ... thanks and appreciate ur help rathaur |
|
#4
|
|||
|
|||
|
Can you post your index.php page. I have a feeling it has to do more with the code than with the mySQL installation.
Just to see if your server is running, create a script and put this code inside: <?php phpinfo(); ?> Save it as whatever you like, and run the file. If all is working, a screen should pop up with all your PHP config details. Try it out. |
|
#5
|
|||
|
|||
|
thats the first thing i did after installing apache and php. (before installing mysql) and its perfectly fine.
i can post the index.php. even a form in the index.php is fine , except for the variable part. its keep on saying the error is varible is not initiliazed. but once the variable is initialized i.e. to 0 or "" then it ok ... is there anything to do in php.ini ? |
|
#6
|
|||
|
|||
|
hi
Finally i solved the problem. In php.ini set the error_reporting =0 or any other value which doesnot include E_WARNING. any how , thanks for kind suggestion , you guys are great and helpful ... Rathaur ps. you guys should be nominated for next President |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > mysql installation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|