2006-07-08, 12:13 AM
mySQL error: 1062
Duplicate entry '0' for key 1
Query: INSERT INTO mybb_adminoptions (uid) VALUES ('0')
If I run the Query in phpMyAdmin, it tells me to browse, then I get this:
SQL query: Documentation
SELECT *
FROM
WHERE CONCAT_WS( "-", uid ) = "0"
ORDER BY uid
MySQL said: Documentation
#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 'WHERE CONCAT_WS("-", uid)
= "0"
ORDER B' at line 3
How do I fix it?
Duplicate entry '0' for key 1
Query: INSERT INTO mybb_adminoptions (uid) VALUES ('0')
If I run the Query in phpMyAdmin, it tells me to browse, then I get this:
SQL query: Documentation
SELECT *
FROM
WHERE CONCAT_WS( "-", uid ) = "0"
ORDER BY uid
MySQL said: Documentation
#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 'WHERE CONCAT_WS("-", uid)
= "0"
ORDER B' at line 3
How do I fix it?