Bug #44909 | mysql_install_db reports "unkonwn option --skip-federated" | ||
---|---|---|---|
Submitted: | 15 May 2009 19:46 | Modified: | 16 May 2009 16:17 |
Reporter: | devesh gade | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
Version: | 5.1.34 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[15 May 2009 19:46]
devesh gade
[15 May 2009 19:49]
devesh gade
config.log file has been attached
Attachment: add.ldif~ (application/octet-stream, text), 206 bytes.
[16 May 2009 16:17]
MySQL Verification Team
Thank you for the bug report. You probably has an my.cnf file option in the path like showed below in Ubuntu 8.10 running in VirtualBox: miguel@txg:~/mysql-5.1.34-linux-i686-glibc23$ scripts/mysql_install_db --basedir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/ --datadir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/data/ Installing MySQL system tables... 090516 12:43:07 [ERROR] /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqld: unknown option '--skip-bdb' 090516 12:43:07 [ERROR] Aborting 090516 12:43:07 [Warning] Forcing shutdown of 2 plugins 090516 12:43:07 [Note] /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqld: Shutdown complete <cut> miguel@txg:~/mysql-5.1.34-linux-i686-glibc23$ ls /etc/mysql/my.cnf -la -rw-r--r-- 1 root root 4227 2008-09-19 10:24 /etc/mysql/my.cnf <cut> removing my.cnf from the path: miguel@txg:~/mysql-5.1.34-linux-i686-glibc23$ scripts/mysql_install_db --basedir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/ --datadir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/data/ Installing MySQL system tables... 090516 13:09:07 [Warning] Forcing shutdown of 2 plugins OK Filling help tables... 090516 13:09:08 [Warning] Forcing shutdown of 2 plugins OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqladmin -u root password 'new-password' /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqladmin -u root -h txg password 'new-password' Alternatively you can run: /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. miguel@txg:~/mysql-5.1.34-linux-i686-glibc23$ scripts/mysql_install_db --basedir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/ --datadir=/home/miguel/mysql-5.1.34-linux-i686-glibc23/data/ Installing MySQL system tables... 090516 13:09:07 [Warning] Forcing shutdown of 2 plugins OK Filling help tables... 090516 13:09:08 [Warning] Forcing shutdown of 2 plugins OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqladmin -u root password 'new-password' /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysqladmin -u root -h txg password 'new-password' Alternatively you can run: /home/miguel/mysql-5.1.34-linux-i686-glibc23//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.