Click to See Complete Forum and Search --> : Adding MySQL to Envinoment Variables


squidg
12-08-2008, 09:44 PM
How exactly do i do this? I've been trying to follow the instructions on the PHP and MYSQL book and other websites though it doesnt seem it work...

chazzy
12-08-2008, 10:11 PM
you'll need to explain a bit better. is this windows or linux or other? how are you checking? how are you trying to add?

skywalker2208
12-08-2008, 10:12 PM
If you are trying install it on your local computer you should try xampp or wamp.

squidg
12-09-2008, 02:24 AM
Im using windows XP with MySQL 5.1.

Basically what im trying to do is simply type mysql in the command prompt instead of having to go to C:\Program Files\MySQL\MySQL Server 5.1\bin when i want to access it

chazzy
12-09-2008, 05:07 AM
Im using windows XP with MySQL 5.1.

Basically what im trying to do is simply type mysql in the command prompt instead of having to go to C:\Program Files\MySQL\MySQL Server 5.1\bin when i want to access it

You need to add it as an environment variable, with your PATH. make sure you open the cmd window after you change the value of %PATH%

if you're not sure how to get to the environment variables in windows, you can go to http://support.microsoft.com/kb/310519