https://www.icyphoenix.com/viewtopic.php?f=35&t=5419&p=36435#p36435
-----------------------------------
chowhan1234
Sat 07 Feb, 2009 20:58

Re: Error  'read Int(1) DEFAULT '0' NOT NULL,
-----------------------------------
[quote user="DWho" post="36402"]your config file does not have the right database name or password or both...[/quote]

i have correct info in that file.


i have tried to recreate the database but now i get this error when i restore the database from my last backup.




Error

SQL query:

CREATE TABLE ip_force_read_users(
user varchar( 255 ) DEFAULT '' NOT NULL ,
READ int( 1 ) DEFAULT '0' NOT NULL ,
time int( 10 ) DEFAULT '0' NOT NULL
);

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 'read int(1) DEFAULT '0' NOT NULL,
   time int(10) DEFAULT '0' NOT NULL
)' at line 3


