Forums / Install & configuration / could'n connect to database
claudio demarinis
Wednesday 07 May 2003 3:37:53 pm
i have now this error with the manuall installation
kernel (50)
* No database connection could be made, the system might not behave properly
The url is www.risorseweb.net : help me
Tony Wood
Wednesday 07 May 2003 4:16:36 pm
A couple of things to try.
1. Ensure MySQL is running 2. The socket is correct, it could be 3306 or 3400 3. Check the database name 4. Check the userid for the table5. Check the password
Its normally one of those. At least for me anyway.
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future
HK Lam
Wednesday 07 May 2003 10:18:43 pm
how about the /settings/site.ini
[Database Settings] # Use either ezmysql or ezpostgresql Database Implementation=ezpostgresql # Name of server to connect to Server=localhost # DB user name User=<user> # DB Password Password=<password> # database name you have created in the previous stepDatabase=<name_of_database>
Wednesday 07 May 2003 10:50:07 pm
where i control the socket? The site.ini settings are correct
Thursday 08 May 2003 12:04:01 am
in the site.in there this row:Databasepluginpath
How should i edit this?
Thursday 08 May 2003 12:24:48 am
A quick way to get a site going that has stopped like this is to backup all your settings files.
GNU/Linux: tar cvzf settings.tgz settingsWindows: Zip -a settings.zip settings
and then change the site.ini file in settings/site.ini or if you have one site.ini.php making CheckValidity true.
[SiteAccessSettings]CheckValidity=true
This will check your system out, file permissions, database connection etc... Really handy.
Thursday 08 May 2003 12:26:03 am
For your sockets, thats a MySQL issue, it is controlled via the /etc/my.cnf