Been at this for hours and hours without end debugging why my CREATE TABLE
statement failed.
Tested it within a MySQL
database and it works just fine. But for some reason all my SELECT's can't get my login table like it doesn't exists(The error says).
Here is my SQL
for creating the table.
CREATE TABLE IF NOT EXISTS login(
id SMALLINT NOT NULL PRIMARY KEY AUTO_INCREMENT,
user_type SMALLINT NOT NULL,
user_data text NOT NULL,
created_on datetime NOT NULL DEFAULT "0000-00-00 00:00:00"
);
I just cannot see where the error is. One other major issue is that after hours while googling i haven't found any solid wiki that provides enough information about the API
for me to really use it. So i had to jump around from site to site to get bites of information.
Hope someone can help me sort out the issue with the Query
.