![]() |
MySQL syntax error... please help
I'm trying to load these tables vrun sql queries & I get this error message;
"MySQL said: #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '\g create table performers (performer_name varchar(255) not " I have no idea how to fix this. Can anyone help? Here is the queries Code:
create table producers (producer_server varchar(255) not null, type varchar(255) not null, version varchar(255), login varchar(255) not null, password varchar(255) not null, dbase varchar(255) not null, name varchar(255), address varchar(255))\gmuch appreciated |
Don't know where you're trying to run these queries, but a proper SQL query should look like:
create table 'producers' ('producer_server' varchar(255) not null); so it depends how you're trying to run these queries, but you might wanna check your syntax :) |
Quote:
shell > mysqladmin -h <host> -u <user> -p create <dbname> Enter password: ******* shell > mysql -h <host> -u <user> -p <dbname> < load_tables Enter password: ******* but that's all greek to me, so took the file named load_tables & tried running it as queries. |
You could try it by replacing the "\g" at the end of each line with a semicolon ";".
|
Quote:
That worked.. thank you. :thumbsup :thumbsup :thumbsup |
| All times are GMT -7. The time now is 12:57 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123