Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACCESS DENIED, Server Not Responding

Status
Not open for further replies.

t35li

Programmer
May 28, 2009
12
0
0
CA
I have installed phpmyadmin on my University webserver where my website is. I have configured config.inc.php, but whenever I go to it, it gives error saying:

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

Here is my config.inc.php:

<?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 2.11.9.5 setup script by Michal ?iha? <michal@cihar.com>
* Version: $Id: setup.php 12304 2009-03-24 12:56:58Z nijel $
* Date: Thu, 02 Jul 2009 22:41:38 GMT
*/

/* Servers configuration */
$i = 0;

/* Server mysql.acs.ucalgary.ca (config:groupii) [1] */
$i++;
$cfg['Servers'][$i]['host'] = 'mysql.acs.ucalgary.ca';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = '';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'config';


/* End of servers configuration */

?>
 
Is the webserver on the same machine as the database?

If so, try ...['host'] = 'localhost'.

Also try extension = mysql
and/or port = 3306
and/or connect_type = tcp
and/or auth_type = cookie.

Maybe MySQL is running on a different port???

Mark
 
I'm not sure if its on the same machine or not, but i've tried host as localhost, 127.0.0.1, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top