bsb_coffee
bsb_coffee

Reputation: 7051

MySql environment variable on windows

I have installed Mysql on my localhost and it works fine with phpMyAdmin. I have set my CLASSPATH to C:\xampp\mysql\bin\ but when I try and run 'mysql' from the command line it doesnt recognise it. If I navigate to C:\xampp\mysql\bin\ in the command line I can run mysql commands fine.

Any ideas?

Thanks,

Joe

Upvotes: 0

Views: 12822

Answers (1)

Andrew
Andrew

Reputation: 141

Add it to PATH variable, not CLASSPATH.

Upvotes: 2

Related Questions