Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2
Author Message
brentnhunter
Client



Joined: Sep 10, 2004
Posts: 166

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

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: 17088

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

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
brentnhunter







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

The first two lines are:

-- MySQL dump 9.11
--
 
Raven







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

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 ##.
 
brentnhunter







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

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

Thanks,

Brent
 
Raven







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

No. I think it's a phpMyAdmin issue but I'n not sure.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©