NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page need mysql assistance

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-16-2005, 03:04 AM THREAD STARTER               #1 (permalink)
Account Closed
 
nicedomain4sale's Avatar
Join Date: Mar 2005
Location: Singapore
Posts: 673
nicedomain4sale has a spectacular aura aboutnicedomain4sale has a spectacular aura about
 



need mysql assistance


Please help me. I try to restore backup from phpmyAdmin. But this error happened.

My version:
PHP version 4.3.10
MySQL version 4.0.24-standard

SQL-query:
Code:
 CREATE TABLE `ibf_admin_logs` (
`id` bigint( 20 ) NOT NULL AUTO_INCREMENT ,
`act` varchar( 255 ) default NULL ,
`code` varchar( 255 ) default NULL ,
`member_id` int( 10 ) default NULL ,
`ctime` int( 10 ) default NULL ,
`note` text,
`ip_address` varchar( 255 ) default NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1
MySQL said: Documentation
????: NamePros.com http://www.namepros.com/programming/90528-need-mysql-assistance.html
#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 'DEFAULT CHARSET=latin1' at line 10
nicedomain4sale is offline  
Old 05-16-2005, 07:04 AM   #2 (permalink)
NamePros Member
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 127
eagle12 will become famous soon enougheagle12 will become famous soon enough
 



remove all instances of:

Code:
DEFAULT CHARSET = latin1
It looks like the version of MySQL you are running doesn't support it. If you remove the above line, you should be able to run it without problem.
eagle12 is offline  
Old 05-16-2005, 07:09 AM THREAD STARTER               #3 (permalink)
Account Closed
 
nicedomain4sale's Avatar
Join Date: Mar 2005
Location: Singapore
Posts: 673
nicedomain4sale has a spectacular aura aboutnicedomain4sale has a spectacular aura about
 



Thanks.
It fixed now.
nicedomain4sale is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
Tutorial: How to Install Apache2 MySQL and PHP on Windows deadserious Webmaster Tutorials 35 09-21-2005 10:46 PM
mysql problem Shof515 Programming 3 12-14-2004 10:20 PM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 02:17 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:40 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger