Ar
2024-01-02 10:41:24 UTC
I copied over all the MySQL stuff from the old install to the new clean
install of Mageia9, but in the new install it is not running properly.
Mageia 9, x86_64, fully up to date.
Hostname has been set to "rooster", it is remembered after reboots.
When I try logging in to Mysql with the following command and the
password I set up in the Mag7 install, I am granted access to MySQL.
mysql -u root -p
However, when I try access the database as I have done for years with
the following and the same password:
mysql rooster -u root -p
I get the error:
ERROR 2002 (HY000): Can't connect to server on 'rooster' (115)
If I try:
mysql -h 127.0.0.1 -u root -p
I get the error:
ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)
Searching online suggests a configuration problem, but of what?
MySQL runs, one database is confirmed working, digikam says there's an
unspecified error with its database - If I need to I can make a new one,
but would lose ratings and other data of photos, so would like to save it.
I can't check on the digikam database without access to mysql in the
first place. I have intentionally destroyed the "mysql" database and all
the other files as if it was a new install. The system re-creates all
the files needed to run, but the same problem exists.
Does anyone have any ideas what's going on, maybe some file I forgot to
copy over. I did copy my.cnf from the older install.
install of Mageia9, but in the new install it is not running properly.
Mageia 9, x86_64, fully up to date.
Hostname has been set to "rooster", it is remembered after reboots.
When I try logging in to Mysql with the following command and the
password I set up in the Mag7 install, I am granted access to MySQL.
mysql -u root -p
However, when I try access the database as I have done for years with
the following and the same password:
mysql rooster -u root -p
I get the error:
ERROR 2002 (HY000): Can't connect to server on 'rooster' (115)
If I try:
mysql -h 127.0.0.1 -u root -p
I get the error:
ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)
Searching online suggests a configuration problem, but of what?
MySQL runs, one database is confirmed working, digikam says there's an
unspecified error with its database - If I need to I can make a new one,
but would lose ratings and other data of photos, so would like to save it.
I can't check on the digikam database without access to mysql in the
first place. I have intentionally destroyed the "mysql" database and all
the other files as if it was a new install. The system re-creates all
the files needed to run, but the same problem exists.
Does anyone have any ideas what's going on, maybe some file I forgot to
copy over. I did copy my.cnf from the older install.