Erron on Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cyborg
    Junior Member
    • Feb 2011
    • 3

    #1

    Erron on Installation

    Hi there,

    i like to install OX, but the following occured:

    /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a
    initializing configdb from scratch...ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    ERROR

    how can i resolv this?

    cheers
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #2
    Hi,

    you can remove the MySQL "root" user password while installing OX. You can re-apply it afterwards because OX creates its own DB user.

    Greetings

    Comment

    • Carsten Hoeger
      Open-Xchange Professional Services
      • Mar 2007
      • 710

      #3
      or use the options --mysql-root-user/--mysql-root-passwd:

      Code:
      # /opt/open-xchange/sbin/initconfigdb --help
      
      /opt/open-xchange/sbin/initconfigdb currently knows the following parameters:
      
      Parameter                      | Default value
      ------------------------------------------------------------
      --configdb-user                | openexchange
      --configdb-pass                | 
      --configdb-host                | localhost
      --configdb-port                | 3306
      --configdb-dbname              | configdb
      --addon-sql                    | 
      --mysql-root-user              | root
      --mysql-root-passwd            | 
      
      
      NOTE: use "-a" to create SQL admin user using GRANT command
      use -i to automatically delete the configdb if exists
      
      
      Example:
      
        /opt/open-xchange/sbin/initconfigdb --configdb-pass=secret

      Comment

      • cyborg
        Junior Member
        • Feb 2011
        • 3

        #4
        Originally posted by Carsten Hoeger View Post
        or use the options --mysql-root-user/--mysql-root-passwd:
        Is this the right command?

        -> /opt/open-xchange/sbin/initconfigdb --mysql-root-user/--mysql-root-passwd:

        Comment

        • cyborg
          Junior Member
          • Feb 2011
          • 3

          #5
          Originally posted by Martin Braun View Post
          Hi,

          you can remove the MySQL "root" user password while installing OX. You can re-apply it afterwards because OX creates its own DB user.

          Greetings
          how can i remove this password?

          Comment

          Working...
          X