Hi guys,
I'm trying to backup all users on my server using the Backup tool but it's giving an error:
Here's what I already tried:
- Resetting the mysql passwords
- Running mysql with authentication disabled (--skip-grant-tables)
- rm -rf /root/.my.cnf (I didn't have the file to begin with but I tried the command anyway)
None of this worked, I get exactly the same error still.
Any clues?
I'm trying to backup all users on my server using the Backup tool but it's giving an error:
Error while backing up database admin_cs2015
Error while backing up database admin_cs2015: The sql file is 0 bytes in size: /home/admin/admin_backups/admin/backup/admin_cs2015.sql
mysqldump error output: mysqldump: Got error: 2002: "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" when trying to connect
Here's what I already tried:
- Resetting the mysql passwords
- Running mysql with authentication disabled (--skip-grant-tables)
- rm -rf /root/.my.cnf (I didn't have the file to begin with but I tried the command anyway)
None of this worked, I get exactly the same error still.
Any clues?