Jump to content

[SOLVED] Help with MySQL Command Line - I'm going insane help me :D


leevalentine001

Recommended Posts

Ok, this is probably a terrible question and yes I'm a noob at this kinda stuff.

 

I'm trying to set up my own private server for World of Warcraft (have been for 3 days now actually). I've got everything perfect now except for one thing. In the guide I'm using, you need to make your in-game account using MySQL Command Line Client.

 

The code used in the guide must be out-dated because it says to use...

 

USE `accounts`; (that one works fine)

 

then..

 

insert  into `accounts`(`acct`,`login`,`password`,`gm`,`banned`,`lastlogin`,`lastip`,`email`,`flags`,`forceLanguage`) values (1,'username goes here','password goes here','az',0,'0000-00-00 00:00:00','','',8,'enUS');

 

I typed it and retyped it 100% correct (replacing the username and password of course) and I always get a 'syntax error'. Can anyone tell me what syntax I should use?

 

Thanks in advance.

Link to comment
Share on other sites

I recommend using the mysql administrator and query browser GUI tools - http://dev.mysql.com/downloads/gui-tools/5.0.html

 

I would assume (I have never used the mysql command line) that the syntax error that is displayed also indicates where in the query the error was found? Posting that information from the error message would help.

Link to comment
Share on other sites

The error says...

 

"ERROR 1064 (42000): 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 'accounts' etc etc.

 

Some told me that I should be using the tilde key (`) instead of the apostrophe (') is that right?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.