[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 05-16-2005, 02:04 AM   #1 (permalink)
Account Closed
 
nicedomain4sale's Avatar
 
Join Date: Mar 2005
Location: Singapore
Posts: 674
0.00 NP$ (Donate)

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
#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, 06:04 AM   #2 (permalink)
NamePros Member
 
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 91
80.80 NP$ (Donate)

eagle12 is on a distinguished road


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, 06:09 AM   #3 (permalink)
Account Closed
 
nicedomain4sale's Avatar
 
Join Date: Mar 2005
Location: Singapore
Posts: 674
0.00 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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


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 01:24 PM
Tutorial: How to Install Apache2 MySQL and PHP on Windows deadserious Webmaster Tutorials 35 09-21-2005 09:46 PM
mysql problem Shof515 Programming 3 12-14-2004 09:20 PM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 01:17 PM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:09 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85