Unable to connect to the database mysql?

别来无恙 提交于 2020-01-10 04:47:29

问题


I've downloaded the wamp server and it's online. I'm trying to install Joomla.

At page 4 I'm told Unable to connect to the database

An error has occurred:The database details provided are incorrect and/or empty.

Can anyone help me in fixing this error?

This problem has been fixed by Ocaso Protal, finaly this page ocurs

what should I put here ?Site Name? nd finaly why should i use joomla any specific properties of this product ?


回答1:


You must check these things before

  1. Setup a blank database from the Cpanel/Mysql Admin
  2. Fix the username/password and user permissions on this database
  3. Run Joomla... and give it the above credentials + localhost
  4. Make sure you have 777 or adequate permissions otherwise some errors may occur#

If im not mistaken the default account for wamp/xamp myqsl is user: "root" password: ""

//Password is null - do not write nothing inside




回答2:


Even if you use the default settings for mysql (user: root, password empty) you should put the username root in the Username field in the form that's showed in your first screenshot.



来源:https://stackoverflow.com/questions/6148588/unable-to-connect-to-the-database-mysql

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