Hi,
We have a remote mysql server and get a error in the migration, "bitbucket does not have adequate permissions to create a temporary table in the target database when connected as the specified user. Please check that the user has permission to CREATE TEMPORARY TABLES"
But we already create a database user with full granted permissions, we probe the user and permission from CLI of server and works fine.
[root@Tharbad /]# mysql -h 192.168.7.5 -u btbckuser -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3468184
Server version: 5.7.19-log MySQL Community Server (GPL)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| bitbucket |
+--------------------+
2 rows in set (0.00 sec)
mysql> use bitbucket;
Database changed
mysql> CREATE TEMPORARY TABLE IF NOT EXISTS table2 AS (SELECT 1,2);
Query OK, 1 row affected (0.00 sec)
Records: 1 Duplicates: 0 Warnings: 0