Jump to content


Photo

Cannot login to database


  • Please log in to reply
1 reply to this topic

#1 power-paule

power-paule
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • Location├╝berall

Posted 20 May 2003 - 11:42 AM

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?

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 20 May 2003 - 11:54 AM

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
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users