database connection

i am new at siutecrm, it is fresh installation
in database connection step 2, i got

The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password

i am sure of my input data hostname, user,pass,db_name
and i have tested db connection from another host

for hostname, i tested hostname, ip, localhost,127.0.01 all failed

what should i do ??

What are your versions of SuiteCRM, PHP and database?

Does your SuiteCRM server have DNS resolution of the database server name you are trying to use?

Suitecrm latest version 7.10.10

php version 7.0.32

mysql-community-server.x86_64 8.0.13-1.el7

database on the same server of suitecrm

MySQL 8 is not a supported version of database. But we do want to support it soon, so I don’t mind troubleshooting this with you.

I am seeing several people reporting database connection errors, but this code hasn’t been changed in years, maybe something is different in MYSQL 8.

Are you a developer?

That message seems to be ERR_DB_LOGIN_FAILURE which appears in a couple of places around this area

If you can add some extra logging or debugging code to see what the parameter look like?

Also if you can find some MySQL log telling exactly what went wrong with the connection, that would be quite useful.

i am not a developer, which mysql version is supported by suitecrm

See the compatibility Matrix: