Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    1

    Arrow problem with conect to database from ANY IP

    hi!
    I build some application which use dbExpress component to connecting with database.

    and i've got a problem:

    how from WHM/Cpanel/ssh establish Acces Hosts to any IP, because i want to that any of users (from any IP) can connect to DataBase. It's very important for me!

    Now when I try to connectI can see that error

    Acces denied fo user 'username'@'%' to database 'dbname'

    please help me!

  2. #2
    Member
    Join Date
    Apr 2006
    Posts
    38
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    I believe you just use the wildcard % in the access hosts field

    You'll still need to connect with a user with the right permissions etc

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    13

    Default

    That should really be a last resort as it is a huge security hole. You should always grant as granular privileges as possible. This would even include not granting all privileges to users who don't need it. Adding % to access hosts is just asking for trouble in my opinion.

Similar Threads & Tags
Similar threads

  1. Problem with Database
    By hellsanjeev in forum New User Questions
    Replies: 1
    Last Post: 10-08-2009, 08:45 AM
  2. phpbb not conect sql [moved]
    By cdms in forum Database Discussions
    Replies: 6
    Last Post: 02-19-2007, 08:51 PM
  3. Problem restoring Database
    By snadboy in forum Database Discussions
    Replies: 2
    Last Post: 05-09-2005, 05:41 AM
  4. Database problem
    By Martini-man in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-24-2004, 06:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube