Hi there,
I've not seen this error before, and am not aware of such a user needed in AtoM.
If your server has more than one database on it, then running the mysqldump command as you've shown it in your email may be causing problems. Rather than specifying the name of your AtoM database, you've used --all-databases, which we do not recommend anywhere in our documentation. You're also using -f (force), meaning if there are errors, you're not seeing them at the time you create the dump!
I recommend just running the dump command like so:
- mysqldump -u myusername -p mydbname > /path/to/mybackupfile.sql
So, for example, if your MySQL username is root, and the database name is atom, this might look like:
- mysqldump -u root -p atom > 11.04.2020.sql
If you can't recall your database name, user, and password used in MySQL during installation, you can either check in /root/.my.cnf, or config/config.php to see the credentials.
See:
The other thing I noticed - you mention dropping the old database, but did you remember to also recreate it after dropping, before loading your data? See steps 3-5 in the "Copy your old data" section of the upgrading docs:
3. If you’re upgrading from 2.5.x or lower to 2.6.x or higher make sure your data is on utf8mb3 or utf8 (the default if you followed the installation documentation) and that you are using MySQL 8.0 as that’s a requirement since AtoM 2.6. During the upgrade task, your data will be transformed to the utf8mb4 charset and the utf8mb4_0900_ai_ci collation.
4. Re-create the database with the new charset and collation:
mysql -u username -p -e "DROP DATABASE IF EXISTS atom;"
mysql -u username -p -e "CREATE DATABASE atom CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;"
5. Now, load the contents into the new database:
mysql -u username -p atom < /tmp/atom_db.sql
Let us know if this helps!
Cheers,