|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
ltwCalendar problem - create table
MySQL 4.0.12
ltwCalendar v2.2 i'm getting this error: ========================== Could not create the user table. Seems there was a problem creating the user table. This could mean that the user you are connecting to the database with does not have CREATE privledges. Please see the error message below for further detal. The error (if any) returned from the database was: 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 'calendar users (username char(20) NOT NULL default '', password The query that bombed out was: CREATE TABLE tlmb calendar users (username char(20) NOT NULL default '', password char(100) NOT NULL default '', PRIMARY KEY (username)) TYPE=MyISAM; ========================== the code says php Code:
thanks in advance... |
|
#2
|
|||
|
|||
|
RE: ltwCalendar problem - create table
Hmm...haven't had a chance to test with MySQL 4.0. Could be a problem there. Maybe it doesn't like that default '' bit. Try taking that out of the code....
|
|
#3
|
|||
|
|||
|
RE: ltwCalendar problem - create table
yup, i tried taking it out, even tried escaping the single quotes. didn't work. any ideas?
TIA... |
|
#4
|
|||
|
|||
|
RE: ltwCalendar problem - create table
Quote:
Looks like the table name you specified has spaces in it. Table names can only have letters numbers and underscores... |
|
#5
|
|||
|
|||
|
RE: ltwCalendar problem - create table
omg that was it. how could i possible be so stupid?! thanks!!
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > ltwCalendar problem - create table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|