| Bug #49172 | Scheduling a backup job in Administrator does not work: No creates, no inserts. | ||
|---|---|---|---|
| Submitted: | 27 Nov 2009 21:11 | Modified: | 30 Nov 2009 15:44 |
| Reporter: | Cheong Gan | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Administrator | Severity: | S1 (Critical) |
| Version: | 8.41 | OS: | Linux (ubuntu5.4) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Backup, Connection, mabackup, password:NO, quick fix, schedule, workaround | ||
[27 Nov 2009 21:11]
Cheong Gan
[27 Nov 2009 21:16]
Cheong Gan
The output file did not contain any Create's nor Insert's. The last line in the file is: /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
[28 Nov 2009 14:14]
Valeriy Kravchuk
Looks like a duplicate of bug #36986.
[30 Nov 2009 15:44]
Cheong Gan
WORKAROUND:
The problem is because the password in the saved connection profile was not set when password_storage_type=1 which explains the 'Access denied ...(using password: NO)' error in /var/log/mysql/mysql.log.
I workaround this problem by changing ~/.mysqlgui/mysqlx_user_connectinos.xml as follows:
- change <password_storage_type>1</password_storage_type> to <password_storage_type>0</password_storage_type>
- change </password> to <password>myrootpassword</password>
So my mysqlx_user_connectinos.xml looks like:
<?xml version="1.0"?>
<user_connections>
<last_connection>0</last_connection>
<password_storage_type>0</password_storage_type>
<user_connection>
<connection_name>myConnection0</connection_name>
<username>root</username>
<hostname>localhost</hostname>
<port>3306</port>
<schema>myschema</schema>
<advanced_options/>
<storage_path></storage_path>
<notes></notes>
<connection_type>0</connection_type>
<storage_type>1</storage_type>
<password_storage_type>0</password_storage_type>
<password>myrootpassword</password>
</user_connection>
</user_connections>
Note: you have to look hard to locate hidden dir ./mysqlgui. Mine is /home/myuser/.mysqlgui
Hope this help others looking for a quick fix.
