Jump to content

Archived

This topic is now archived and is closed to further replies.

power-paule

Cannot login to database

Recommended Posts

I installed MySQL and I wanted to login to my databasewith the Shell of mysql.exe with the order:

mysql -u root -p

But there\'s always the answer:

You have an error in your SQL syntax...

Who can help me?

Share this post


Link to post
Share on other sites

If u are using windows

 

u will find the mysql.exe in the mysqlbin directory

 

if u want to issue the command from anywere then u have to set path

 

C:mysqlbin>mysql -u admin -p

Enter password: *****

 

U can also download a GUI based tool for windows

 

www.sqlyog.com

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.