Bug #45104 | mysqld fails to create all required tables | ||
---|---|---|---|
Submitted: | 26 May 2009 18:57 | Modified: | 5 Jun 2009 14:19 |
Reporter: | norbert van Nobelen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: General | Severity: | S4 (Feature request) |
Version: | 5.1.x, 6.0.11-alpha | OS: | Linux (OpenSuse 10.3) |
Assigned to: | CPU Architecture: | Any | |
Tags: | clean, install, mysql.host, mysql.plugin |
[26 May 2009 18:57]
norbert van Nobelen
[26 May 2009 19:00]
norbert van Nobelen
Some issue with 6.0.10. Might be a my.cnf issue: [client] #password = your_password port = 3306 socket = /var/lib/mysql/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking key_buffer = 32M max_allowed_packet = 1M table_cache = 64 sort_buffer_size = 2M net_buffer_length = 8K read_buffer_size = 256K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 16M query_cache_size=32M query_cache_limit=32M max_connections=80 server-id = 1 innodb_data_home_dir = /var/lib/mysql/ innodb_log_group_home_dir = /var/lib/mysql/ innodb_buffer_pool_size = 128M innodb_additional_mem_pool_size = 32M innodb_log_file_size = 5M # The safe_mysqld script [safe_mysqld] err-log=/var/lib/mysql/mysqld.log [mysqldump] quick max_allowed_packet = 16M [mysql] no-auto-rehash [isamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M [myisamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M [mysqlhotcopy] interactive-timeout
[26 May 2009 19:02]
norbert van Nobelen
Placed on serious because I require the mysql/*.frm tables due to another issue with failing to properly upgrade the tables -> Mysql does not want to execute one date function.
[26 May 2009 19:13]
norbert van Nobelen
Workaround found: Remove the offending tables from /var/lib/mysql/mysql. Run mysql_upgrade Upgrade now works with error.
[26 May 2009 19:15]
Jonas Sundin
Did you run: scripts/mysql_install_db --user=mysql as described in: http://dev.mysql.com/doc/refman/6.0/en/installing-binary.html to create the tables?
[27 May 2009 17:35]
norbert van Nobelen
Ok, manual reading should have helped. Than 1 suggestion: Change the line: 090526 20:53:08 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. To something suggestion this user failure: 090526 20:53:08 [ERROR] Can't open the mysql.plugin table. Please run scripts/mysql_install_db --user=mysql to create it.
[5 Jun 2009 14:19]
Valeriy Kravchuk
More detailed/precise instructions in the error message would be useful.