Esvon Classifieds Unofficial Support Board
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Help    Search    Login    Register  
*
Sep 08, 10, 22:17
Esvon Classifieds Unofficial Support Board  |  Member Zone  |  Esvon Classifieds Unofficial Manual  |  Topic: copy of one esvon database to another Advanced search
 
Pages 1
Author
Locked Topic Topic: copy of one esvon database to another  (Read 2408 times)
« on: Apr 20, 06, 09:22 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



I have two copies of Esvon Classifieds.
I would like to upload the database from one to the other
I don't know MySql commands
any simple way?
How do you restore a backup database?
Maybe I could restore a backup of one database to another
Logged
 
Reply #1
« on: Apr 20, 06, 09:23 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



by the way the database is over 5mb
Logged
 
Reply #2
« on: Apr 20, 06, 09:45 »
charles Offline
Admin
Fearless Classifier
*****
Posts: 867

WWW


I know, it will the subject of today's manual update!

Stand-by...

Cheers
Charles
Logged

ecusb.com founder and administrator (but I do not work for Esvon!)
Esvon Classifieds on: www.rentahomeabroad.com |   Esvon Classifieds Manual

mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
 
Reply #3
« on: Apr 20, 06, 15:55 »
isell Offline
Master classifier
Fearless Classifier
****
Posts: 213

WWW

Leer,

If you have shell access it's really easy. .

1. Create the backup: mysqldump -u USER -p DBNAME -Q > cl_dump.sql

2. create the new Db using the cpanel MySQL tool.

3. Load the data: mysql -u USER -p DBNAME < cl_dump.sql


If you don't have access to SSH use cpanel:

1. Select the backup/download of the MySQL Db .

2. Create the new Db.

3. Select the Restore Db option and choose the filename of the Db you backup/downloaded.

-jay

 



Logged

 
Reply #4
« on: Apr 20, 06, 16:56 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



I typed :

mysqldump -u USER -p DBNAME -Q > cl_dump.sql
with user being the user name to login to the database
and the DBName is the Databases name and I get an error

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

I don't know the first thing about Executing a SQL command
Logged
 
Reply #5
« on: Apr 20, 06, 16:58 »
isell Offline
Master classifier
Fearless Classifier
****
Posts: 213

WWW

Try it without the -Q option.
Logged

 
Reply #6
« on: Apr 20, 06, 17:23 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



NO LUCK

on the BACKUP page of ESVON they have this:

mysql -u root -p databasename < output_saved_as.sql to reload backup

I know what databasename is put what is root?
Logged
 
Reply #7
« on: Apr 20, 06, 17:25 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



can I somehow use the backup file of the one db to install the information on the new db?
Logged
 
Reply #8
« on: Apr 20, 06, 23:27 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



Charles,

How does the manual approach taking one database from one copy of ESVON to another?
Logged
 
Reply #9
« on: Apr 24, 06, 00:54 »
dysartwebs Offline
Regular classifier
**
Posts: 46



What type of server do you have?
Logged
 
Reply #10
« on: Apr 24, 06, 01:02 »
Leer Offline
ecusb.com supporter
Fearless Classifier
****
Posts: 201



How do I find out what kind of server I have?
Logged
 
Print  Pages 1
Esvon Classifieds Unofficial Support Board  |  Member Zone  |  Esvon Classifieds Unofficial Manual  |  Topic: copy of one esvon database to another
Jump to: