|
|
|
||||
|
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 2002
Location: france
Posts: 996
|
moving mysql db from a server to another
i want to move the mysql database from tho old server to a new server, but i'm not too familiary with phpmyadmin
i've exported the database from the old server and saved the .sql file to my comp.. what do i have to do next? thx |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
Create a database and import it.
|
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
Quote:
|
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
Quote:
If it doesn't work, you can always drop it and start again, but that should do it. This is from memory, someone else might know the exact process. |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
command line baby:
mysql -uroot -p < whatever.sql
__________________
112.020.756 |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
by the way, thats for a mysqldump file... not sure how phpadmin does it
__________________
112.020.756 |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
ok.. i moved the ttt script database with phpmyadmin
i see all the tables in the ttt script admin area from the site of new server but someting is not ok.. the stats are frosty.. they do not count the in hits and they are not reset what's wrong? |
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
when i click on a link to ttt-out.php i get this error message:
Error: Unknown column 'blockheads' in 'field list' anyone moved succesfuly the db of ttt script from a server to another? |
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: Feb 2002
Location: Everywhere
Posts: 455
|
mysqldump, dumping table structure and data:
"Utility to dump a database or a collection of database for backup or for transferring the data to another SQL server (not necessarily a MySQL server). The dump will contain SQL statements to create the table and/or populate the table...." http://www.mysql.com/doc/en/mysqldump.html Backing up your database: http://www.mysql.com/doc/en/Backup.html Repairing tables within a database: http://www.mysql.com/doc/en/Repair.html <br><br> |
|
|
|