![]() |
Plz Help Database
PLZ HELP ME I DELETE
mydatabase.session.sessionhash sessionhash this table in my database delted from me by error give me sql command to create it again |
sessionhash is not a table, but a column in the session table.
To recreate the session table use the following SQL (add tableprefix if needed): [sql]CREATE TABLE `session` ( `sessionhash` char(32) NOT NULL default '', `userid` int(10) unsigned NOT NULL default '0', `host` char(15) NOT NULL default '', `idhash` char(32) NOT NULL default '', `lastactivity` int(10) unsigned NOT NULL default '0', `location` char(255) NOT NULL default '', `useragent` char(100) NOT NULL default '', `styleid` smallint(5) unsigned NOT NULL default '0', `languageid` smallint(5) unsigned NOT NULL default '0', `loggedin` smallint(5) unsigned NOT NULL default '0', `inforum` smallint(5) unsigned NOT NULL default '0', `inthread` int(10) unsigned NOT NULL default '0', `incalendar` smallint(5) unsigned NOT NULL default '0', `badlocation` smallint(5) unsigned NOT NULL default '0', `bypass` tinyint(4) NOT NULL default '0', `profileupdate` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`sessionhash`) ) ENGINE=MEMORY;[/sql] |
All times are GMT. The time now is 02:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|