Witajcie!
Uporałem się już z połączeniem, skrypt poprawnie łączy się z MySQL, lecz teraz mam kolejny problem. Loguję się nickiem z forum i otrzymuję takie odpowiedzi w mysql_log
Witajcie!
Bawię się nieco MySQL itp. i postanowiłem spróbować odpalić serwer na swoim VPSie. Forum i panel są poprawnie skonfigurowane, plik connect.txt skryptu Origin-RP jest również poprawnie skonfigurowany lecz podczas uruchamiania serwera w logach zapisują się takie błędy
[code][Thu Jul 19 16:38:43 2012] -------------------------
[Thu Jul 19 16:38:43 2012] Logging Started
[Thu Jul 19 16:38:43 2012] -------------------------
[Thu Jul 19 16:38:43 2012] Function: mysql_init executed with result: "0".
[Thu Jul 19 16:38:43 2012] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[Thu Jul 19 16:38:43 2012] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[Thu Jul 19 16:38:43 2012] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[Thu Jul 19 16:38:43 2012] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[Thu Jul 19 16:38:43 2012] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[Thu Jul 19 16:38:43 2012] Error (0): Function: mysql_query c...