Skip to main content

New User Account Setup

Comments

6 comments

  • cPanelMichael
    Hello :) Would the "Skeleton Directory" feature be useful in this case? It's documented at: cPanel - Skeleton Directory Thank you.
    0
  • lewisstevens1
    Ah haha, i just tried uploading all the files into that and it worked! I thought it was only for one file ha. Thankyou for your help :)
    0
  • lewisstevens1
    Im sorry to bother you again, although i was trying to use a remote database, i setup a remote server on 46.32.227.112 & authenticated by password. that didn't work so i added my ip in additional ip hosts of 46.32.227.112 again. and went into cpanel and pressed remote database and added remote access hosts of: % and 46.32.227.112 I still cant connect although when i connect i get this error: Access denied for user 'root'@'host.tomlewisgroup.com' (using password: YES) and in the error log: [18-Oct-2013 18:58:21 UTC] PHP Warning: mysql_connect(): Access denied for user 'root'@'host.tomlewisgroup.com' (using password: YES) in /home/domai769/public_html/index.php on line 9 its a blank document except for the mysql_connect function. I have this one database i want to connect to & even though its on another user.. its still on same server, so ip is the same. Thanks Lewis
    0
  • lewisstevens1
    Ah sorry, i dont think you can connect via root lol
    0
  • cPanelMichael
    You should create a database user, add it to the database, and use that in your script configuration. Using "root" is not recommended due to security implications. Thank you.
    0
  • lewisstevens1
    AH ok thanks :)
    0

Please sign in to leave a comment.