Waltp Posted January 4, 2014 Share Posted January 4, 2014 I created a DB and user but when I run the PHP script I get the errorAccess denied for user 'waltp_waltp'@'localhost' to database 'waltp_infobase' The command executed ismysql_select_db($dbname) or die(mysql_error()); Did I not set up the DB or user correctly?the script is http://pattinson.heliohost.org/wjp/celeb/celebMake.php Quote Link to comment Share on other sites More sharing options...
Byron Posted January 4, 2014 Share Posted January 4, 2014 See if this helps: http://wiki.helionet.org/MySQL_Databases Quote Link to comment Share on other sites More sharing options...
Krydos Posted January 5, 2014 Share Posted January 5, 2014 There is three steps to setting up a database and user to go with it.Create the database.Create the database user.Grant the user access to the database.It sounds like you did 1 and 2, but not 3. Visit http://johnny.heliohost.org:2082/frontend/x3/sql/index.html#mysqlusers and try adding user to database. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.