Error loading character set latin1:
mysqli_real_escape_string() might not work proper.Connect failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)