Crossaxe Posted April 30, 2007 Share Posted April 30, 2007 I have a mySQL database installed but my install.php cannot find the database when I try to install my code. "Creating tables... Warning: mysql_connect(): Access denied for user 'Chris'@'localhost' (using password: YES) in /home/chrisuk/public_html/WebLeague/install.php on line 7 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/chrisuk/public_html/WebLeague/install.php on line 8 Failed to connect to MySQL server" Link to comment https://forums.phpfreaks.com/topic/49276-mysql-problem/ Share on other sites More sharing options...
wildteen88 Posted April 30, 2007 Share Posted April 30, 2007 You have permission issues for the user 'Chris'. Log in to MySQL as the root user and make sure the permissions are correct for the user 'Chris' Have a read of this guide for setting MySQL permissions. Link to comment https://forums.phpfreaks.com/topic/49276-mysql-problem/#findComment-241735 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.