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 importing mysql db (5 years ago) to today's phpadmin

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 11-16-2007, 04:31 AM THREAD STARTER               #1 (permalink)
Senior Member
 
rome2ng's Avatar
Join Date: Oct 2005
Location: 1°88′N, 7°95′E
Posts: 1,388
rome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud of
 


Adoption

importing mysql db (5 years ago) to today's phpadmin


hihi guys..

i have a problem here and i seriously need help

I have a database that i use to create a site 5 years ago....
????: NamePros.com http://www.namepros.com/programming/396350-importing-mysql-db-5-years-ago.html
and i couldn't upload to today's phpadmin...

the reason being the phpadmin shows an error :

Error
Quote:
SQL query:

-- MySQL dump 9.09
--
-- Host: localhost Database: lffusion_nuke
------------------------------------------------------- --
-- Server version 4.0.15-standard
--
-- Table structure for table `confirm`
--
DROP TABLE IF EXISTS confirm;



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 '---------------------------------------------------------
-- Server version 4.0.' at line 1

Here's the db info in my backup file.

Quote:
-- MySQL dump 9.09
--
-- Host: localhost Database: lffusion_nuke
---------------------------------------------------------
-- Server version 4.0.15-standard
currently , i am using
PHP version 5.2.4
MySQL version 5.0.27-standard


anyway to import without problem ???
__________________
What's a good blog ? Find out here [+++]
[http://treoo.com]- S'pore Local Gadget Store® - Now Online
For Sales : | Ads Development Site [neatad.com] -HOT |
rome2ng is offline  
Old 11-16-2007, 06:24 PM THREAD STARTER               #2 (permalink)
Senior Member
 
rome2ng's Avatar
Join Date: Oct 2005
Location: 1°88′N, 7°95′E
Posts: 1,388
rome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud of
 


Adoption
paying NP$30 to anyone who can get it fix...

come one
__________________
What's a good blog ? Find out here [+++]
[http://treoo.com]- S'pore Local Gadget Store® - Now Online
For Sales : | Ads Development Site [neatad.com] -HOT |
rome2ng is offline  
Old 11-16-2007, 08:01 PM   #3 (permalink)
NamePros Regular
 
wikes82's Avatar
Join Date: Sep 2006
Location: K-R.NET
Posts: 902
wikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud ofwikes82 has much to be proud of
 


Save a Life Cancer
mysql comment should start with '--' (double dash) followed by whitespace... so replace that long "----------------------" to "-- ------------"

or just delete the comments....
line start with "--" or "/*" (without quotes)


Originally Posted by rome2ng
hihi guys..

i have a problem here and i seriously need help

I have a database that i use to create a site 5 years ago....
and i couldn't upload to today's phpadmin...

the reason being the phpadmin shows an error :

Error



Here's the db info in my backup file.



currently , i am using
PHP version 5.2.4
MySQL version 5.0.27-standard


anyway to import without problem ???
wikes82 is offline  
Old 11-16-2007, 08:57 PM THREAD STARTER               #4 (permalink)
Senior Member
 
rome2ng's Avatar
Join Date: Oct 2005
Location: 1°88′N, 7°95′E
Posts: 1,388
rome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud ofrome2ng has much to be proud of
 


Adoption
Quote:
SQL query:

INSERT INTO nuke_bbsearch_wordlist( word_text, word_id, word_common )
????: NamePros.com http://www.namepros.com/showthread.php?t=396350
VALUES (

'sanosuk�',4213, 0
);



MySQL said:

#1062 - Duplicate entry 'sanosuk' for key 1
upon browsing ... this error came out.


Quote:
SQL query:

SELECT *
FROM Array
WHERE CONCAT_WS( "-", word_text, word_id, word_common ) = "sanosuk"
ORDER BY word_text, word_id, word_common
LIMIT 0 , 30

MySQL said:

#1146 - Table 'lffusion_nuke.Array' doesn't exist
note : i am using phpnuke old version..
__________________
What's a good blog ? Find out here [+++]
[http://treoo.com]- S'pore Local Gadget Store® - Now Online
For Sales : | Ads Development Site [neatad.com] -HOT |
rome2ng is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:52 AM.

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