LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   MySQL Instruction error (https://www.linuxquestions.org/questions/programming-9/mysql-instruction-error-71747/)

verokard 07-10-2003 10:53 PM

MySQL Instruction error
 
Hi !!!, I'm new in MySQL.
So please help me......

The Server is running, but when i want to use :
mysql> SELECT VERSION(), CURRENT_DATE;
the message appear like below statement :
bash : syntax error near unexpected token `('


Regards
Verdi

:confused:

kev82 07-11-2003 06:18 AM

you need to connect to the server, if its running locally then

mysql -u [your user name] -p

if its running on a different host then

mysql -h [hostname] -u [your user name] -p

then you can issue the commands you want, when your finished the QUIT command will return you to the bash prompt.


All times are GMT -5. The time now is 07:25 PM.