简体   繁体   中英

Database connect not successful TYPO3

I am working for the first time on one hosting with TYPO3, and seems that I can't connect to database during initial setup (first install). My username and passwords are correct , and I can access to database using other methods but i simply can't with TYPO3 install tool. I tried with default hosts (eg localhost and default 127.0.0.1) and even socket based connection but nothing.

Any help please?

Best regrads

I had a similar problem on my local development machine. The solution for me was to comment out the skip-networking line in the MySQL server configuration file my.cnf

At first localhost or 127.0.0.1 will be successful as long as the mysql server is located on the same server.

Either you can create an special typo user for the server and bind it to an DB or you can use the default root user. Any other user also migth work depending on the configuration. Here you should check the accessrigths for the user u want TYPO to log in as.

For the password section you have to check if the user needs a password. If not just omit it.

Also try to select an empty but existing database

The connection type is not really relevant cause most of the problems are caused by wrong host,user, password, database settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM