Title: DB backup empty
Last modified: August 22, 2016

---

# DB backup empty

 *  Resolved [popeating](https://wordpress.org/support/users/popeating/)
 * (@popeating)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/db-backup-empty/)
 * Hello,
    im having issue with DB backup; Revisr correctly create the DB folder/
   wp-content/uploads/revisr-backups and it creates a .sql file for every table 
   i have in the db, anyway files a re 0 bytes. I changed permision on folder (event
   to 777) and checked the mysql path (im on linux, it is /usr/bin)
 * any suggestions?
 * [https://wordpress.org/plugins/revisr/](https://wordpress.org/plugins/revisr/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [popeating](https://wordpress.org/support/users/popeating/)
 * (@popeating)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/db-backup-empty/#post-5578894)
 * Hello… i just solved my problem
    the error was due to the way i connect to MySQL;
   in my wp-config.php i have the following line: define(‘DB_HOST’, ‘:/var/run/mysqld/
   mysqld.sock’);
 * so it is not working using mysqldump
    to have it work, i modified class-revisr-
   db.php to use “localhost” instead thand DB_HOST, where the script muild the connection
   string
 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/db-backup-empty/#post-5578936)
 * Hi,
 * Glad to see you got this resolved. Will be releasing an update within the next
   few days and will look at adding support for socket connections.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘DB backup empty’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/revisr_ecf0f1.svg)
 * [Revisr](https://wordpress.org/plugins/revisr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisr/)
 * [Active Topics](https://wordpress.org/support/plugin/revisr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisr/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/db-backup-empty/#post-5578936)
 * Status: resolved