-
as seen on Server Fault
- Search for 'Server Fault'
Hi
I would like to back up our mysql database. We have huge records in the database. What are the errors can occur and possible while running mysqldump.? Mysql official site did not mention the specific error and error codes for mysqldump, They just commonly put the error and error codes. I am expecting…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hello,
I am running a mysqldump via a bash script and have encountered a problem with a password that contains special characters. How do I escape the password?
mysqldump -hlocalhost -uUSERNAME -pPA$$W0RD DATABASE | gzip /home/USERNAME/backups-mysql/BACKUP.gz
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have two mysql databases that have almost the same structure and representing the data of the same web app but one of them represents the current version and second one was made long time ago.
How can I create the database with both dumps inside but with old_ prefix for tables from the first and…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a script that backs up our database, which contains multiple tables and views constructed from tables.
The command used is:
mysqldump -u UserName -ppassword -h hostname DatabaseName dump.sql;
I have noticed however that some view definitions are backed up before the definitions of the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do we take a mysql dump from the results of a query
I need something like this..
`mysqldump -uroot -pxxxx mydb "select * from table where name='1';" /tmp/a
Thanks
>>> More