Create mysql database uses host ip application uses hostname

Discussion in 'General' started by toolswizard, Mar 4, 2009.

  1. toolswizard

    toolswizard Member

    I have ISPConfig running on a WebServer, and MYSQL running on a seperate server, behind a second firewall. It works and that is really night a problem.

    When I create a new website, with a new database, the user is created in the database will all the IP addresses of the webserver.

    I am trying to install phpBB3 into this database. When I attempt to access the database, it tells me access is denied for user@hostname. The hostname being the webserver name (not the sitename). How do I either force the username to use the ip, or have ISPConfig use the hostname to create the user account in MYSQL?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
     
  3. toolswizard

    toolswizard Member

    I use version 2.2.29
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can either enable remote access for the database, or, if phpBB is installed on the same server, use localhost or 127.0.0.1 as the database server.
     

Share This Page