![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2003
Posts: 101
|
MYSQL problems please help me! somebody!
Hi I have a .sql file I need to import into a mysql Db, the problem is I cannot do it thru MYPHPADMIN because the file is too big and my browser locks up.
how can I do this thru ssh?? someone plz ![]()
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br> 203814376 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
|
I will tell you....
for one million dollars.
__________________
Amen |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
if my memory servers me:
mysql -p databasename > datebasenamefile.sql and you have to create the database first. I don't have my files at home, but I think that's right. J
__________________
I do stuff - aIm CS_Jay_D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
|
Ok the one million dollar paypal pament you made (after we arranged the details over ICQ) has been recieved.
mysql -uUSERNAME -p newdbname < /path/to/dump.sql Quote:
EVEN THOUGH YOU ARE WRONG!
__________________
Amen |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
Man, I was way off. Must be the blood in my beer system.
__________________
I do stuff - aIm CS_Jay_D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
It's impossible to do, don't even try it!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
|
Quote:
__________________
Amen |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
Ok listen up.
First create a new database in MyPHPAdmin. Then use telnet/ssh and connect to your server (if you don't have access, contact your host and ask them for access). Upload the .SQL file with FTP/Telnet to the root and then type this in telnet/ssh: mysql -u username -p newdbname < nameofdb.sql username = mysql username newdbname = the name of the db you just created in MyPHPAdmin
__________________
M3Server - NATS Hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
And good luck
![]()
__________________
M3Server - NATS Hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
Quote:
__________________
I do stuff - aIm CS_Jay_D |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Jun 2003
Posts: 101
|
Quote:
Worked Beautifully! THANKS! ![]()
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br> 203814376 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
Quote:
![]() ![]()
__________________
M3Server - NATS Hosting |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,117
|
Quote:
Had that been his only copy of that sql dump, it would have been wiped out. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Dec 2003
Location: Victoria, BC, Canada
Posts: 726
|
Quote:
mysql -p databasename < databasenamefile.sql |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Jun 2003
Posts: 101
|
Hey guys
im trying to do this again now, and it seems like everything is copying over with no errors.. but when I got to check the database there is no data in it?? has that ever happened to anyone?
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br> 203814376 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Jun 2003
Posts: 101
|
bump
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br> 203814376 |
![]() |
![]() ![]() ![]() ![]() ![]() |