MySQL insert into user database failure

mysql

I kept getting an error for “Column count doesn’t match value count at row 1″.

My MySQL [5.0.96] version probably had some extra columns. So…

INSERT INTO user VALUES (‘localhost’,’root’,password(‘newpassword’),’Y’,’Y ‘,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’, ‘Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,’Y’,” ,”,”,”,0,0,0,0);

One thought on “MySQL insert into user database failure

Comments are closed.