feerdispzoo
Verified User
- Joined
- Jan 17, 2022
- Messages
- 189
Hello,
I've use CloudLinux, on this I install Mariadb10.5 but my app working with Mariadb104. i see is not possible downgrade, so I delete and then install again correct mariadb104
After this not possible open mysql in dir admin:
Error connecting to MySQL: Access denied for user 'nobody'@'localhost' (using password: YES)
I fallow to:
When I type:
mysql -uda_admin -p
Then ask me for password, but when I click enter without pass then login correct
Whe I tpe:
mysql -uroot -p
Then ask me for password, but when I click enter without pass then login correct
So:
I set first password for root:
mysql mysql -e "UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'; FLUSH PRIVILEGES;"
Now when I type:
mysql -uroot -p
and when I enter password working.
ISSUE:
I try in the same way set also password for user da_admin:
ALTER USER 'da_admin'@'localhost' IDENTIFIED BY 'daadminpass';
When I try this then I get issue:
[root@vim735ac ~]# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 31
Server version: 10.4.25-MariaDB-cll-lve MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> ALTER USER 'da_admin'@'localhost' IDENTIFIED BY 'XXXXXXXX';
ERROR 1396 (HY000): Operation ALTER USER failed for 'da_admin'@'localhost'
MariaDB [(none)]> exit
Bye
[root@vim735ac ~]#
I've use CloudLinux, on this I install Mariadb10.5 but my app working with Mariadb104. i see is not possible downgrade, so I delete and then install again correct mariadb104
After this not possible open mysql in dir admin:
Error connecting to MySQL: Access denied for user 'nobody'@'localhost' (using password: YES)
I fallow to:
When I type:
mysql -uda_admin -p
Then ask me for password, but when I click enter without pass then login correct
Whe I tpe:
mysql -uroot -p
Then ask me for password, but when I click enter without pass then login correct
So:
I set first password for root:
mysql mysql -e "UPDATE mysql.user SET authentication_string=PASSWORD('rootpass') WHERE user='root'; FLUSH PRIVILEGES;"
Now when I type:
mysql -uroot -p
and when I enter password working.
ISSUE:
I try in the same way set also password for user da_admin:
ALTER USER 'da_admin'@'localhost' IDENTIFIED BY 'daadminpass';
When I try this then I get issue:
[root@vim735ac ~]# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 31
Server version: 10.4.25-MariaDB-cll-lve MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> ALTER USER 'da_admin'@'localhost' IDENTIFIED BY 'XXXXXXXX';
ERROR 1396 (HY000): Operation ALTER USER failed for 'da_admin'@'localhost'
MariaDB [(none)]> exit
Bye
[root@vim735ac ~]#