2019-10-21, 08:19 AM
Hi all,
I am trying to install Mybb_1.8.21 on my CentOS 7 server, with PHP 7.3 and Mysql 8, but I am stuck at database creation because the connection to the local mysql instance fails (see attached picture). Yet i can login from command line:
and also permissions seem to be ok:
I am trying to install Mybb_1.8.21 on my CentOS 7 server, with PHP 7.3 and Mysql 8, but I am stuck at database creation because the connection to the local mysql instance fails (see attached picture). Yet i can login from command line:
[root@web_develop mybb]# mysqladmin -h localhost --port=3306 version -u mybb -p
Enter password:
mysqladmin Ver 8.0.18 for Linux on x86_64 (MySQL Community Server - GPL)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Server version 8.0.18
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 16 min 8 sec
Threads: 2 Questions: 11 Slow queries: 0 Opens: 115 Flush tables: 3 Open tables: 35 Queries per second avg: 0.011
and also permissions seem to be ok:
mysql> SHOW GRANTS FOR mybb@localhost;
+--------------------------------------------------------------------------------------------------------+
| Grants for mybb@localhost |
+--------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `mybb`@`localhost` |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER ON `prova`.* TO `mybb`@`localhost` |
+--------------------------------------------------------------------------------------------------------+
What can be the issue ?
Thanks for any help and bye,
Dk