Can't connect to local MySQL server

Post your support requests/solutions for phpJobScheduler [website]
Marcelo

Can't connect to local MySQL server

Postby Marcelo » Tue Apr 22, 2008 9:16 pm

Hello,

I'm new to your site. I was trying to install phpJobScheduler but I'm getting this message;

Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/m/a/r/marcelomg/html/phpjobscheduler/pjsfiles/functions.php on line 51

I followed the instalation procedures and added the database information so it looks like this;

define('DBHOST', 'localhost');//
define('DBNAME', 'name');//
define('DBUSER', 'user');//
define('DBPASS', 'password');//
?>

What am I doing wrong?

Thanks

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1807
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Postby davidgwalker » Wed Apr 23, 2008 6:00 am

Hi,

Sounds like your host does not support MySQL.

Get your site hosted with a server with MySQL such as:
http://www.seiretto.com/web_hosting/php_hosting.php

triak

Someging strange with config.inc.php

Postby triak » Mon Apr 28, 2008 2:00 pm

I edited the config file to match the user and database created on our local mysql server.
But when I try to access the scheduler I get the following error message:

Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/phpjobscheduler/pjsfiles/functions.php on line 51

So the variables are not read correctly.
If I dont edit the file, wont start at all (obviously).

What could cause this?

TIA


Return to “phpJobScheduler [forum]”

Who is online

Users browsing this forum: No registered users and 3 guests