Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Old 12-18-2003, 09:34 AM   #1
nigel
Calendar User
 
nigel is offline
Join Date: Dec 2003
Posts: 2
Default

When setting up, I get the following errors,

The error was reported as:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I have confirmed the settings I have entered with mi host, they are

$dbHost = "localhost";
$dbUserLogin = "dmcf";
$dbPassword = "xxxxxx"; changed for obvious reasons
$dbName = "dmcf_org_uk_-_cal";

the demo also reports the same errors, really

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/cal/escal.php on line 167

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/html/cal/escal.php on line 168

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/html/cal/escal.php on line 171

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/cal/escal.php on line 172

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/cal/escal.php on line 180

Advise?
 

Old 12-18-2003, 10:12 AM   #2
revoemag
Calendar User
 
revoemag is offline
Join Date: Dec 2003
Posts: 14
Send a message via MSN to revoemag
Default

This error message means that the mysql daemon/service is not running. First verify that mysql is started.

Linux: ps -aux | grep mysql

Windows: Task Manager -> Processes
or Control Panel -> Admin Tools -> Services

If it is not running, start it.

rev
 

Old 12-18-2003, 11:05 AM   #3
nigel
Calendar User
 
nigel is offline
Join Date: Dec 2003
Posts: 2
Default

Problem solved, it was to do with security settings on the server, the mysql was running, when reduced security for a bit, all worked)


Many Many thanks for your help
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First time setup problem stevenwt2 General Support 7 06-22-2005 06:04 PM
Problem using MySQL version with v5.7 straw-man General Support 2 04-28-2005 09:27 AM
looping setup problem as well petro General Support 12 05-30-2004 12:00 PM
Problem with setup Warlock General Support 4 04-07-2004 01:01 PM
mySQL setup? Stoley88 General Support 1 04-04-2004 06:29 PM



All times are GMT -4. The time now is 01:13 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |