I've set up an Apache 2.2 and PHP 5.3 server on my Windows 7 machine. However, phpinfo() tells me that I have MySQL installed as well, but I had no clue I do. I'm having trouble finding the installation, so how can I find the path to MySQL? I know how to do so with Linux (whereis MYSQL), but what do I do with Windows?
2 Answers
- I would check under C:\Program Files\MySql or under c:\MySql
- Also, MySql typically is configured to run on port 3306; so I would check whether you have this port open on your local computer. How? Just telnet to port 3306 on localhost and see if you can connect. If you can, most likely MySQL is running on your PC and you should be able to connect to it.
- Read the MySQL Documentation regarding this topic.
phpinfois just telling you that the MySQL library for PHP is installed. It does not mean MySQL itself is installed.