Loran Posted August 1, 2007 Share Posted August 1, 2007 Hi, Have installed apache 2.2.4 and php 5.2.1 and am trying to install mysql..have tried many times but it never works..so i've uninstalled it..and was hoping someone would have the time and patience to walk me through it.. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/62804-installing-mysql/ Share on other sites More sharing options...
wildteen88 Posted August 1, 2007 Share Posted August 1, 2007 What OS are you running? If its Windows just download the installer ((Windows ZIP/Setup.EXE (x86))) from mysql.com and run through it. Once installed you will have to configure PHP to use the mysql extension in order for you to use MySQL with PHP. PHP5 does not come with mysql support built in like PHP4. In order to enable the MySQL extension please read this FAQ If you are having any problems during the installation of mysql just post here and I'll try to solve the problem you are having. Quote Link to comment https://forums.phpfreaks.com/topic/62804-installing-mysql/#findComment-312652 Share on other sites More sharing options...
Loran Posted August 2, 2007 Author Share Posted August 2, 2007 Yeah, i was running windows, forgot to mention it :-\ ok i've changed the php.ini file..i already had php/ext line enabled..(is it a problem if it is already enabled?) and removed the semicolon from the mysql.dll, I downloaded mysql from the link you provided..and started to install it..then at the end it said if i wanted to configure now, so i said yes. everyone went good, and its the first time i remember it asking for a root password instead of having to enter a previous one :S. I hit execute at the end..but It couldn't start the service..mysql.error: 0. Is there something extra i have to do to start the service? Thanks for everything so far, Quote Link to comment https://forums.phpfreaks.com/topic/62804-installing-mysql/#findComment-314433 Share on other sites More sharing options...
wildteen88 Posted August 3, 2007 Share Posted August 3, 2007 If it cant start the service then there is most probably an existing service already setup with the same name as the one the installer is trying to start. Or there is something running on port 3306 (default mysql port) and service cannot start because of this. What I'd do is change the service, on the screen where you enter the root password there is an option for setting up a service and then a pull downmenu for service choose a different service name instead. When you uninstalled MySQL last time the uninstaller probably didn't remove the service. Quote Link to comment https://forums.phpfreaks.com/topic/62804-installing-mysql/#findComment-314509 Share on other sites More sharing options...
Loran Posted August 3, 2007 Author Share Posted August 3, 2007 Well its actually on the screen before that..except its all blanked out..like the tick for run as windows service is already clicked and is..frozen? well i can't toggle it on and off..and so the dropdown menu for service name is the same..do i have to reinstall? ive looked at other tutorials that say i have to type things in a dos window..tried it a while ago but didn't work..do i have to do something like this? or should the installer do it all.. edit: just removed the config thing..then did it again..and changed service name to mysql5..but the same thing happened..as you said above.."Or there is something running on port 3306.." how do i check this? and does it matter if I use a different port? Quote Link to comment https://forums.phpfreaks.com/topic/62804-installing-mysql/#findComment-314540 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.