Web Hosting Talk







View Full Version : MySQL config filename and path ... URGENT!!!


Cael
03-28-2001, 07:48 AM
I got this error


Error
MySQL said: You have an error in your SQL syntax near '' at line 1
Back


when I was trying to add a database through phpmyadmin. I installed my mysql at /usr/local/mysql/ . I need to know which file should I edit to solve the error there as I need to add databases for my clients.

Please help me .... I need to add all of the databases as soon as possible.

allan
03-28-2001, 09:20 AM
Donovan,

Are you sure about that? When we installed MySQL it defualted to /var/lib/mysql and the MySQL daemon defaulted to: /usr/sbin/mysqld.

I'm not familiar with phpmyadmin, but have you tried setting up the databases from the command line?

kunal
03-28-2001, 10:16 AM
lol.. there is an error in your create statement.. check that out.. :) the error has nothing to do with your mysql installation..

vizi
03-28-2001, 02:49 PM
If phpmyadmin is giving you that, then there is an incompatibility with the versions of phpmyadmin and mysql. Make sure the phpmyadmin you installed can communicate with that version of mysql you installed.

Cael
03-28-2001, 05:45 PM
gosh... Then what should I do to add the databases???

Someone can show me the command line?
I saw a few in a few web sites, not really sure which I need to add and which I don't as I don't provide shell access for clients.

kunal
03-29-2001, 12:54 AM
whats the command mysql is issuing to create the dbase? it usually comes up at the top of the page..

Cael
03-29-2001, 05:02 AM
huh????

Cael
03-29-2001, 06:55 AM
vizi ... I thought there are only one version of phpmyadmin available??? Anyone?? Please help !!!