CURRENT 70.0.17 Backups - MySQL password not restoring

movielad

Well-Known Member
May 14, 2003
109
2
168
cPanel Access Level
Root Administrator
Twitter
Hello,

I've been playing around with a couple of CURRENT 70.0.17 servers and noticed that whenever I transferred an account from one server to another, regardless of whether it was from WHM or the command line, database credentials were not being restored. In the output, there were a lot of these:

Use of uninitialized value $password in concatenation (.) or string at /usr/local/cpanel/Cpanel/DBI/Mysql/Utils.pm line 79

I'm using MariaDB 10.2 on both servers. Running CentOS 7.4 on both.

Manually going into cPanel -> MySQL Databases and changing the password for the MySQL user based on the credentials found in the config files of the application worked, but I'm concerned that this is going to confuse a lot of people..

P.S. this forum account is now personal as I left my former employers last year - if somebody could downgrade it from a PartnerNOC to the bog standard, great unwashed public account, I'd be grateful ;)
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello,

To update, we investigated this as part of a support ticket (#9309805). We were unable to reproduce the behavior, and the original source server utilized when encountering the problem was no longer active.

Let us know if you encounter any additional issues.

Thank you.