I checked the SQL update and ran the part to create tblUserPasswordRequest from the SQL editor and ran the update of tblVersion.
I wonder why it doesn't create a new entry with the new version, it just updates all the entries.
date major minor subminor
23.03.11 18:56 3 3 7
23.03.11 18:57 3 3 7
23.03.11 18:57 3 3 7
24.03.11 17:41 3 3 7
03.09.11 21:09 3 3 7
Daniel
Just done, but the problem is not disappearing, there is now another table missing.
I wonder why there is always a syntax error. It also shows the same error when i paste this statement into PHPMyAdmin.
Daniel
I wonder why it doesn't create a new entry with the new version, it just updates all the entries.
date major minor subminor
23.03.11 18:56 3 3 7
23.03.11 18:57 3 3 7
23.03.11 18:57 3 3 7
24.03.11 17:41 3 3 7
03.09.11 21:09 3 3 7
Daniel
Just done, but the problem is not disappearing, there is now another table missing.
PHP Code:
CREATE TABLE `tblUserPasswordHistory` ( `id` int(11) NOT NULL auto_increment, `userID` int(11) NOT NULL default '0', `pwd` varchar(50) default NULL, `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`), CONSTRAINT `tblUserPasswordHistory_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
ALTER TABLE tblUsers ADD COLUMN `pwdExpiration` datetime NOT NULL default '0000-00-00 00:00:00'
ALTER TABLE tblUsers ADD COLUMN `loginfailures` tinyint(4) NOT NULL default '0'
ALTER TABLE tblUsers ADD COLUMN `disabled` smallint(4) NOT NULL default '0'
ALTER TABLE tblUsers ADD UNIQUE(`login`)
UPDATE tblVersion set major=3, minor=4, subminor=0
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 'DELIMITER $$ DROP PROCEDURE IF EXISTS DROPFK $$ CREATE PROCEDURE DROPFK ( IN pa' at line 1
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 'END IF' at line 1
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 'END $$ DELIMITER' at line 1
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 '$$ ALTER TABLE tblACLs ENGINE=InnoDB' at line 1
Incorrect table definition; there can be only one auto column and it must be defined as a key
PROCEDURE docmgmt.DROPFK does not exist
PROCEDURE docmgmt.DROPFK does not exist
PROCEDURE docmgmt.DROPFK does not exist
PROCEDURE docmgmt.DROPFK does not exist
PROCEDURE docmgmt.DROPFK does not exist
PROCEDURE docmgmt.DROPFK does not exist
Incorrect table definition; there can be only one auto column and it must be defined as a key
Can't create table 'docmgmt.tblDocumentContentAttributes' (errno: 150)
I wonder why there is always a syntax error. It also shows the same error when i paste this statement into PHPMyAdmin.
Daniel