Welcome Guest ( Log In | Register )



 
Closed TopicStart new topic
> MySQL - Can't Connect, Cristal Report
PureHeart
post Jan 13 2006, 03:09 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 209
Joined: 7-October 05
From: Đà Nẵng City - Việt Nam
Member No.: 8,966



From http://thoaionline.com (hosted by Astahost)
QUOTE
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/thoaionline/includes/database.mysql.inc on line 31
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


In cPanel

Mysql databases 0 / 99


But I have 5 MySQL databases in my account (maybe more). All of them become unusable now.

Some more messages from http://website.thoaionline.com

QUOTE
Warning:  mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 19

Warning:  mysql_select_db(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 28


Warning:  mysql_select_db(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 28

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 119

Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 119


Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/themes/theme-barracuda_blue/theme.php on line 491

Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/themes/theme-barracuda_blue/theme.php on line 491


Warning:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/pheart/public_html/website/themes/theme-barracuda_blue/theme.php on line 492
 


Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/index.php on line 45


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/index.php on line 45

Warning:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/pheart/public_html/website/index.php on line 46

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/session.inc.php on line 6


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/session.inc.php on line 6

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/session.inc.php on line 12


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/session.inc.php on line 12

Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pheart/public_html/website/inc/session.inc.php on line 13

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 119


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 119

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 89


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 89

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 89

Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 89


Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/db.inc.php on line 89

Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/db.inc.php on line 89


Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/session.inc.php on line 6

Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/session.inc.php on line 6

Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/pheart/public_html/website/inc/session.inc.php on line 12


Warning:  mysql_query(): A link to the server could not be established in /home/pheart/public_html/website/inc/session.inc.php on line 12

Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pheart/public_html/website/inc/session.inc.php on line 13
Go to the top of the page
 
+Quote Post
ruben
post Jan 13 2006, 08:59 PM
Post #2


Wheeeeeeee!
Group Icon

Group: Members
Posts: 245
Joined: 19-October 05
From: DG, Belgium
Member No.: 9,200



Hi PureHeart,
this behaviour might be temporary. Which server are you on? Requests like this should go to support AT astahost DOT com, they can help you. By the way, there was no need to post all the messages, it is pretty clear, that the mysql_queries etc. fail, because the connection could never be built up.

Regards, Ruben
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. General Problems With New Account(2)
  2. Problem With Mysql(6)
  3. MySQL Database(3)
  4. IPS Driver Error / MySQL Database(1)
  5. Can I Access MySQL Database From Outsite, Directly(10)
  6. Problem With MySQL Not Being Able To Connect(9)
  7. Weird MySQL Message(4)
  8. Help Me!(3)
  9. Mysql Error Never Seen On My Site Before (too Many Connections).(13)
  10. Mysql Connect Error, Too Many Connections.(1)
  11. Php And Mysql Version.(7)
  12. Problem With MySQL(5)
  13. What Is The MySQL Version @ Asta ?(16)
  14. Site Not Opeing ( Phpbb Forum) :: Can't Connect To Local Mysql(3)
  15. Mysql Server Not Stable After Hard Disk Swap On April 6th(2)
  1. Connecting To Astahost's Mysql(8)


 



- Lo-Fi Version Time is now: 4th December 2008 - 11:24 PM