Mysql problem

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Mysql problem

Postby gloomer » 02. January 2007 04:57

I need to use mysql for something, so I typed "mysql>" into the command line and this is what I got.


bash: syntax error near unexpected token `newline'


How can I use MySql when I keep getting this error?

Any way around this?

By the way.. Xampp is probably the most valuable piece of open source software in the entire industry of webhosting.

Thanks so much.

I've got away with using phpmyadmin as a graphical substitute for mysql, but now I need to go by the command line for mysql.

Thanks for helping. :)
gloomer
 
Posts: 1
Joined: 02. January 2007 04:51

Postby pawill79 » 05. January 2007 03:21

"so I typed "mysql>" into the command line"

mysql> is just the prompt once you are in mysql...

You must type this to actually get into mysql.

/opt/lampp/bin/mysql -u root -p

This will log in with the root user account and prompt for your root password. Enter your password then you will be connected in the MySQL environment and have the "mysql>" prompt
pawill79
 
Posts: 12
Joined: 25. October 2005 03:32


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 18 guests