Announcement

Collapse
No announcement yet.

Ubuntu 8.04: Can't install beacause of MySQL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ubuntu 8.04: Can't install beacause of MySQL

    Hello

    I'm starting to evaluate OX Server Edition.

    Trying to install on Ubuntu 8.04.2 64-bit following this article.

    I am failing at initializing the Open-Xchange configdb database.
    When I run this command (as a regular user):
    Code:
    /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a
    I get
    Code:
    need to be root in order to setup the system
    However, when I run
    Code:
    sudo /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a
    I get
    Code:
    initializing configdb from scratch...ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    ERROR
    How do I solve this problem?

    Thanks very much.

  • #2
    Hi,

    please prepend "sudo" to those commands

    Code:
    sudo /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a
    etc.

    Greetings

    Comment


    • #3
      the better way is to give root his own passwod and to log in as root.

      sudo passwd root

      Comment


      • #4
        Originally posted by fov View Post
        the better way is to give root his own passwod and to log in as root.
        Tried that. Same problem still...
        Last edited by Guest; 03-18-2009, 03:48 PM.

        Comment


        • #5
          Can anyone please help?
          I can't even start evaluating OX this way...
          I am having the same EXACT problem described in this thread, but I don't understand how it was solved.

          Thanks.
          Last edited by Guest; 03-19-2009, 08:17 AM.

          Comment


          • #6
            Hi,
            what I´ve learned during installation of OX, it´s better to leave the mysql-root passwd "empty", and after installation, don´t forget to set the mysql-root passwd.
            this issue also happend, when you use the ox-installer, also if you set a mysql-root passwd during the setup-process, it fails afterwards somewhere, because the script can not connect ot the db.

            the installer do have here a bug, of sure, because the installer worx, when you leave it empty.

            -mardoc

            Comment

            Working...
            X