icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » very basic question

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old August 1st, 2004, 1:17 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2004
3 posts
Gave thanks: 0
Thanked 0 times
Exclamation very basic question

I searched but maybe you all can help quicker. I've no mysql or php experience, as a result, I'm using drupal. anywho im attempting to update from the 4.1 surpass so easily installs to 4.2... which means i need too:

"create the sessions table manually before upgrading. After you created the table, you'll want to log in and immediately continue the upgrade. To create the sessions table, issue the following SQL command (MySQL specific example):

CREATE TABLE sessions (
uid int(10) unsigned NOT NULL,
sid varchar(32) NOT NULL default '',
hostname varchar(128) NOT NULL default '',
timestamp int(11) NOT NULL default '0',
session text,
KEY uid (uid),
KEY sid (sid(4)),
KEY timestamp (timestamp));"

how do I do this?

thank you for your patience and understanding that some of us are VERY new to this.

-esr2
esr2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 1:29 AM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2004
3 posts
Gave thanks: 0
Thanked 0 times
nm, figured it out.
esr2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 2:04 AM   #3 (permalink)
sam
Surpass Fan
Super #1
 
sam's Avatar
 
Joined in Dec 2003
Lives in NJ
5,057 posts
Gave thanks: 0
Thanked 4 times
did you use the query window in phpmyadmin?

in any case glad you got it working.
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On