Database connect not successful TYPO3

你。 提交于 2019-12-23 02:25:58

问题


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 (e.g. localhost and default 127.0.0.1) and even socket based connection but nothing.

Any help please?

Best regrads


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/42044538/database-connect-not-successful-typo3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!