User Tools

Site Tools


gallery2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gallery2 [2011/05/21 17:11]
sebastian
gallery2 [2015/05/17 17:44] (current)
Line 99: Line 99:
  
  
 +===== Check if the database server runs =====
 +Before you start hunting for problems in the configuration and installation of Gallery check if the database server actually runs.
 +
 +In your web servers error log you might find hints like this that tip you of that Gallery can't communicate with the database server:
 +<​code>​
 +[Sat May 21 17:10:38 2011] [error] [client 178.10.93.143] PHP Warning: ​ mysqli_real_connect()
 +[<a href='​function.mysqli-real-connect'>​function.mysqli-real-connect</​a>​]:​
 +(HY000/​2002):​ Can't connect to local MySQL server through socket '/​var/​run/​mysqld/​mysqld.sock'​
 +(2) in /​usr/​share/​php/​adodb/​drivers/​adodb-mysqli.inc.php on line 110
 +</​code>​
  
 ====== Links ====== ====== Links ======
   * [[http://​codex.gallery2.org/​Gallery2:​Installation_on_Debian|Gallery2 on Debian]]   * [[http://​codex.gallery2.org/​Gallery2:​Installation_on_Debian|Gallery2 on Debian]]
gallery2.txt ยท Last modified: 2015/05/17 17:44 (external edit)