Help with a php web app

Discussion in 'Installation/Configuration' started by fbifido, Jun 22, 2011.

  1. fbifido

    fbifido New Member

    Attached Files:

  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    ?

    Can you log into MySQL on the command line with your MySQL root account? Like so:
    Code:
    mysql -u root -p
     
  3. fbifido

    fbifido New Member

    [email protected]:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost:mysql *:* LISTEN 642/mysqld
    tcp 0 0 *:www *:* LISTEN 1046/apache2
    tcp 0 0 *:ssh *:* LISTEN 557/sshd
    tcp 0 52 simpleassets.dunnco:ssh 192.168.0.21:54301 ESTABLISHED 2519/0
    tcp6 0 0 [::]:ssh [::]:* LISTEN 557/sshd
    [email protected]:~#

    [email protected]:~# mysql -u root -p
    Enter password: { i just press enter }
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 46
    Server version: 5.1.54-1ubuntu4 (Ubuntu)

    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL v2 license

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    mysql>
     
  4. fbifido

    fbifido New Member

    I found the problem!

    in the config.php file, you need to set the ip to "127.0.0.1" to make it work
     

Share This Page