Wysłany: 2012-07-19, 18:41
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
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
Kod: [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 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 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 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 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 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 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 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 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 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 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 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 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 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] Function: mysql_init executed with result: "2".
Nie mam poj?cia jakim cudem serwer nie mo?e po??czy? si? z MySQL kt?re stoi na LOCALHO?CIE! ( wszystko VPS - forum, sa-mp, sql ) Licz? na szybk? pomoc. Pozdrawiam!
Wysłany: 2012-07-19, 18:58
SkateR121
F-A-C-K J-U
Wiek: 29 Na forum: 5456 dni Posty: 46
Nick w MP: SkateR
Piwa : 976
Zamisat localhost daj ip vps w connect.
Wysłany: 2012-07-19, 19:32
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
Wysłany: 2012-07-19, 19:59
SkateR121
F-A-C-K J-U
Wiek: 29 Na forum: 5456 dni Posty: 46
Nick w MP: SkateR
Piwa : 976
Wysłany: 2012-07-19, 20:01
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
Oczywi?cie. Jak ju? wspomina?em forum jest po??czone ze skryptem i jest wszystko poprawnie skonfigurowane.
Wysłany: 2012-07-20, 08:31
ToFFiK12
U-RP S-RP
Wiek: 36 Na forum: 5589 dni Posty: 65
Nick w MP: Nevis
Piwa : 115
Kod: /var/lib/mysql/mysql.sock
Pewnie na VPS nie masz tego pliku, niekt?re aplikacje go wymagaj?,
Kod: touch /var/run/mysql/mysql.sock
chown -R mysql:mysql /var/lib/mysql
chown -R mysql:mysql /var/run/mysql/mysql.sock
Wysłany: 2012-07-20, 11:17
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
Pr?bowa?em wywo?a? komendy kt?re mi poda?e? i system daje takie odpowiedzi:
Kod: root@vgame:~/samp03# touch /var/run/mysql/mysql.sock
touch: cannot touch `/var/run/mysql/mysql.sock': No such file or directory
root@vgame:~/samp03# chown -R mysql:mysql /var/lib/mysql
root@vgame:~/samp03# chown -R mysql:mysql /var/run/mysql/mysql.sock
chown: cannot access `/var/run/mysql/mysql.sock': No such file or directory
root@vgame:~/samp03#
Wysłany: 2012-07-20, 16:05
ToFFiK12
U-RP S-RP
Wiek: 36 Na forum: 5589 dni Posty: 65
Nick w MP: Nevis
Piwa : 115
Stw?rz ten katalog, pewnie nie ma "mysql" jak nie instalowa?e? servera tylko clienta. BTW aptitude install mysq-client lub mysql-server
Wysłany: 2012-07-20, 16:14
Piorun
Wiek: 32 Na forum: 6712 dni Posty: 1837
Nick w MP: Piorun
Piwa : 516
Kiedy mysql.sock to plik, a nie katalog .
Wysłany: 2012-07-20, 16:21
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
Instalowa?em serwer i klienta, wszystko jest poprawnie, tylko nie ma pliku mysql.sock w wy?ej wymienionym katalogu.
Tagi: origin-rp :: połączenie :: mysql
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: