Waltp Posted January 4, 2014 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
Byron Posted January 4, 2014 Posted January 4, 2014 See if this helps: http://wiki.helionet.org/MySQL_Databases
Krydos Posted January 5, 2014 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now