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 » SQL character set question

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

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old December 2nd, 2007, 12:06 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2007
Lives in Conneaut, Ohio
Hosted on SH108
41 posts
Gave thanks: 4
Thanked 0 times
SQL character set question

I am moving a forum and I have a copy of the database. I am trying to upload it with phpmyadmin. It ask what the character set is. How can i find out what the character set is??
__________________
Scribs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 2nd, 2007, 12:31 AM   #2 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2007
Lives in Conneaut, Ohio
Hosted on SH108
41 posts
Gave thanks: 4
Thanked 0 times
Ok I found out what the character set is. But I got this error in phpmyadmin.

Code:
Error
SQL query: 

INSERT INTO `smf_forumlog_actions` (

`ID_ACTION` ,
`logTime` ,
`ID_MEMBER` ,
`ip` ,
`action` ,
`extra` 
)
VALUES # --------------------------------------------------------
#
# Table structure for table `smf_forumlog_activity`
#

DROP TABLE IF EXISTS `smf_forumlog_activity` ;



MySQL said:  

#1064 - 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 'DROP TABLE IF EXISTS `smf_forumlog_activity`' at line 5
I really need someone to help me.
__________________
Scribs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 2nd, 2007, 3:46 PM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2007
Lives in Conneaut, Ohio
Hosted on SH108
41 posts
Gave thanks: 4
Thanked 0 times
Ok, so now I got the database to import with phpmyadmin. But the CP doesnt show it anywhere!!

Any ideas??
__________________
Scribs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 2nd, 2007, 5:55 PM   #4 (permalink)
Registered User
Seasoned Poster
 
Joined in Nov 2007
Lives in Conneaut, Ohio
Hosted on SH108
41 posts
Gave thanks: 4
Thanked 0 times
Ok, I got it all fixed up lol!
__________________
Scribs 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