Subject: problem in chap 11
Posted By: joeore Post Date: 1/30/2004 8:11:46 AM
I installed mysql in my pc that have windows xp operating system. I digit this code to create a new users database:

mysql> insert into user values(
    -> 'localhost',
    -> 'phpuser',
    -> Password('phppass'),
    -> 'n', 'n', 'n', 'n', 'n', 'n', 'n',
    -> 'n', 'n', 'n', 'n', 'n', 'n', 'n');

but appear this message:

Error 1136: Column count doesn't match value count at row 1

what is the problem?




Reply By: nikolai Reply Date: 1/30/2004 3:38:22 PM
It means that you're inserting a different number of values than you have columns in the table.


Take care,

Nik
http://www.bigaction.org/

Go to topic 9050

Return to index page 958
Return to index page 957
Return to index page 956
Return to index page 955
Return to index page 954
Return to index page 953
Return to index page 952
Return to index page 951
Return to index page 950
Return to index page 949