Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
I'm upgrading from 7.0 to 7.0.2 and get the following message on running the upgrade.php script:
Code:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/www/jakchat/forums/libs/mysql.inc.php on line 44
Fatal error: Call to undefined function: smartyprepare() in /home/www/jakchat/forums/libs/ubbthreads.inc.php on line 753
any suggestions?
_________________________ Okusi Associates -- Indonesian business and management services
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
don't know if this is related, but one of my administrators unwittingly reopened my board while it was upgrading. could this have left the database in an open state, thus causing the above problem?? and if so, how do i now close the database, keeping in mind that i no longer have access to the control panel ...
_________________________ Okusi Associates -- Indonesian business and management services
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
Originally Posted By: Rick
From the error it looks like the MySQL server has actually died and not available. If this is still happening, then you should contact your host.
no, it's definately up. must be some other issue. could my mysql server setup options have been overwritten during the upgrade?? perhaps i've overwritten them?
_________________________ Okusi Associates -- Indonesian business and management services
Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Quote:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/www/jakchat/forums/libs/mysql.inc.php on line 44
commonly when I see this error MySQL isn't running
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
according to my ISP customer support, they have no problem. indeed, they wrote a quick program on my system that connected.
my mysql host is not localhost, but something else. could my host setting be overwritten during the copying of files or something? just speculating ... i've not nothing more to go on, and my users are clamouring
_________________________ Okusi Associates -- Indonesian business and management services
Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Originally Posted By: KuKuKaChu
my mysql host is not localhost, but something else. could my host setting be overwritten during the copying of files or something? just speculating ... i've not nothing more to go on, and my users are clamouring
You could check your includes/config.inc.php file and see what host yoru forum istrying to connect to
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
That sounds like a domain name issue. Normally you'll see this if you have your full url set to domain.com but you are visiting by http://www.domain.com, or vice versa. There are some security precautions with AJAX in that it will only allow you to use it on the exact domain you're currently on.