foxc Posted April 15, 2009 Report Posted April 15, 2009 (edited) Iegadaajos domeenu un hostingu.. Vissu saliku.. Izveidoju datubazi un visu pareejo.. kad iet lapaa radaas: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) kas tas ir un kaa to izlabot? Edited April 15, 2009 by foxc Quote
Klez Posted April 15, 2009 Report Posted April 15, 2009 http://www.google.lv/search?q=Can't+co...l.sock'+(2) pirmais links ... Quote
foxc Posted April 15, 2009 Author Report Posted April 15, 2009 neko tur nesapratu! vareetu ludzu kaads sikaak paskaidrot? Quote
foxc Posted April 15, 2009 Author Report Posted April 15, 2009 Nu nomainiju configa failaa: $username="logins"; $password="parole"; $database="db"; $timesbildes=""; @mysql_connect("localhost", "$username", "$password") or die(mysql_error()); @mysql_select_db("$database") or die("Nevar atver $database datubazi"); uz sito $username="logins"; $password="parole"; $database="db"; $timesbildes=""; @mysql_connect("127.0.0.1", "$username", "$password") or die(mysql_error()); @mysql_select_db("$database") or die("Nevar atver $database datubazi"); Itkaa viens draugs teica ka taa vajagot.. Bet tagad uzmetas errors : Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Quote
bubu Posted April 15, 2009 Report Posted April 15, 2009 localhost un 127.0.0.1 ir viens un tas pats. Drīzāk aizraksti savam hostētājam par savām problēmām. Viņš tomēr labāk zinās kā viņam ir MySQL serveris nokonfigurēts. Mēs te tikai varam tējas biezumos zīlēt un minēt... Quote
foxc Posted April 15, 2009 Author Report Posted April 15, 2009 viss kartibaa 127.0.0.1 vieta bija jaraksta sql.nano.lv :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.