PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
brentnhunter
Client


Joined: Sep 10, 2004
Posts: 166

PostPosted: Wed Sep 22, 2004 10:26 am Reply with quote Back to top

I have two nuke accounts here, one primary domain and one addon for another domain. I backed up my primary DB and files so I could create the second domain. However after I created the new DB, new DB user and added the user to the DB, and then tried to import the data using MyphpAdmin, I get the followng error message:

Error

SQL-query :

--
--


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 '--' at line 2


Any ideas or suggestions would be greatly appreciated.

Thank you!

Brent
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15037
Location: Kansas

PostPosted: Wed Sep 22, 2004 1:22 pm Reply with quote Back to top

The chances are the first line in your backup file was NOT a comment but a line added by phpMyAdmin. What is the first line in your backup file?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
brentnhunter
Client


Joined: Sep 10, 2004
Posts: 166

PostPosted: Wed Sep 22, 2004 1:46 pm Reply with quote Back to top

The first two lines are:

-- MySQL dump 9.11
--
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15037
Location: Kansas

PostPosted: Wed Sep 22, 2004 1:50 pm Reply with quote Back to top

you need to change all instances of -- to ## Did you do that backup off of phpMyAdmin? I know that's a problem and somewhere I have a note on this but it's not handy. Anyway, do a mass change on -- to ##.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
brentnhunter
Client


Joined: Sep 10, 2004
Posts: 166

PostPosted: Wed Sep 22, 2004 2:24 pm Reply with quote Back to top

Thanks, that worked. Any idea when this will be fixed?

Thanks,

Brent
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15037
Location: Kansas

PostPosted: Wed Sep 22, 2004 2:36 pm Reply with quote Back to top

No. I think it's a phpMyAdmin issue but I'n not sure.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum