Mageia Bugzilla – Attachment 6431 Details for
Bug 15827
Upgrading from mga4 needs mysql_upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Error message
Mariadb.txt (text/plain), 4.58 KB, created by
Thomas Spuhler
on 2015-05-03 02:24:11 CEST
(
hide
)
Description:
Error message
Filename:
MIME Type:
Creator:
Thomas Spuhler
Created:
2015-05-03 02:24:11 CEST
Size:
4.58 KB
patch
obsolete
># systemctl stop mysqld.service >[root@vbox ~]# TMPDIR=/var/tmp mysql_install_db >Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... >150502 17:18:00 [Note] InnoDB: Using mutexes to ref count buffer pool pages >150502 17:18:00 [Note] InnoDB: The InnoDB memory heap is disabled >150502 17:18:00 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins >150502 17:18:00 [Note] InnoDB: Memory barrier is not used >150502 17:18:00 [Note] InnoDB: Compressed tables use zlib 1.2.8 >150502 17:18:00 [Note] InnoDB: Using Linux native AIO >150502 17:18:00 [Note] InnoDB: Not using CPU crc32 instructions >150502 17:18:00 [Note] InnoDB: Initializing buffer pool, size = 128.0M >150502 17:18:01 [Note] InnoDB: Completed initialization of buffer pool >150502 17:18:01 [Note] InnoDB: Highest supported file format is Barracuda. >150502 17:18:01 [Note] InnoDB: 128 rollback segment(s) are active. >150502 17:18:01 [Note] InnoDB: Waiting for purge to start >150502 17:18:01 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2267058 >handlersocket: initialized >150502 17:18:01 server_audit: MariaDB Audit Plugin version 1.2.0 STARTED. >150502 17:18:02 server_audit: STOPPED >150502 17:18:02 [Note] unregister_replicator OK >handlersocket: terminated >150502 17:18:02 [Note] InnoDB: FTS optimize thread exiting. >150502 17:18:02 [Note] InnoDB: Starting shutdown... >150502 17:18:03 [Note] InnoDB: Shutdown completed; log sequence number 2267068 >OK >Filling help tables... >150502 17:18:04 [Note] InnoDB: Using mutexes to ref count buffer pool pages >150502 17:18:04 [Note] InnoDB: The InnoDB memory heap is disabled >150502 17:18:04 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins >150502 17:18:04 [Note] InnoDB: Memory barrier is not used >150502 17:18:04 [Note] InnoDB: Compressed tables use zlib 1.2.8 >150502 17:18:04 [Note] InnoDB: Using Linux native AIO >150502 17:18:04 [Note] InnoDB: Not using CPU crc32 instructions >150502 17:18:04 [Note] InnoDB: Initializing buffer pool, size = 128.0M >150502 17:18:04 [Note] InnoDB: Completed initialization of buffer pool >150502 17:18:04 [Note] InnoDB: Highest supported file format is Barracuda. >150502 17:18:04 [Note] InnoDB: 128 rollback segment(s) are active. >150502 17:18:04 [Note] InnoDB: Waiting for purge to start >150502 17:18:04 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2267068 >handlersocket: initialized >150502 17:18:04 server_audit: MariaDB Audit Plugin version 1.2.0 STARTED. >150502 17:18:05 server_audit: STOPPED >150502 17:18:05 [Note] unregister_replicator OK >handlersocket: terminated >150502 17:18:05 [Note] InnoDB: FTS optimize thread exiting. >150502 17:18:05 [Note] InnoDB: Starting shutdown... >150502 17:18:06 [Note] InnoDB: Shutdown completed; log sequence number 2267078 >OK > >PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! >To do so, start the server, then issue the following commands: > >'/usr/bin/mysqladmin' -u root password 'new-password' >'/usr/bin/mysqladmin' -u root -h vbox.btspuhler.com password 'new-password' > >Alternatively you can run: >'/usr/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. > >See the MariaDB Knowledgebase at http://mariadb.com/kb or the >MySQL manual for more instructions. > >You can start the MariaDB daemon with: >service mysqld start > >You can test the MariaDB daemon with mariadb-bench package > >Please report any problems at http://mariadb.org/jira > >The latest information about MariaDB is available at http://mariadb.org/. >You can find additional information about the MySQL part at: >http://dev.mysql.com >Support MariaDB development by buying support/new features from MariaDB >Corporation Ab. You can contact us about this at sales@mariadb.com. >Alternatively consider joining our community based development effort: >http://mariadb.com/kb/en/contributing-to-the-mariadb-project/ > >[root@vbox ~]# mysql_upgrade --skip-write-binlog >Version check failed. Got the following error when calling the 'mysql' command line client >ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") >FATAL ERROR: Upgrade failed
# systemctl stop mysqld.service [root@vbox ~]# TMPDIR=/var/tmp mysql_install_db Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 150502 17:18:00 [Note] InnoDB: Using mutexes to ref count buffer pool pages 150502 17:18:00 [Note] InnoDB: The InnoDB memory heap is disabled 150502 17:18:00 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 150502 17:18:00 [Note] InnoDB: Memory barrier is not used 150502 17:18:00 [Note] InnoDB: Compressed tables use zlib 1.2.8 150502 17:18:00 [Note] InnoDB: Using Linux native AIO 150502 17:18:00 [Note] InnoDB: Not using CPU crc32 instructions 150502 17:18:00 [Note] InnoDB: Initializing buffer pool, size = 128.0M 150502 17:18:01 [Note] InnoDB: Completed initialization of buffer pool 150502 17:18:01 [Note] InnoDB: Highest supported file format is Barracuda. 150502 17:18:01 [Note] InnoDB: 128 rollback segment(s) are active. 150502 17:18:01 [Note] InnoDB: Waiting for purge to start 150502 17:18:01 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2267058 handlersocket: initialized 150502 17:18:01 server_audit: MariaDB Audit Plugin version 1.2.0 STARTED. 150502 17:18:02 server_audit: STOPPED 150502 17:18:02 [Note] unregister_replicator OK handlersocket: terminated 150502 17:18:02 [Note] InnoDB: FTS optimize thread exiting. 150502 17:18:02 [Note] InnoDB: Starting shutdown... 150502 17:18:03 [Note] InnoDB: Shutdown completed; log sequence number 2267068 OK Filling help tables... 150502 17:18:04 [Note] InnoDB: Using mutexes to ref count buffer pool pages 150502 17:18:04 [Note] InnoDB: The InnoDB memory heap is disabled 150502 17:18:04 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 150502 17:18:04 [Note] InnoDB: Memory barrier is not used 150502 17:18:04 [Note] InnoDB: Compressed tables use zlib 1.2.8 150502 17:18:04 [Note] InnoDB: Using Linux native AIO 150502 17:18:04 [Note] InnoDB: Not using CPU crc32 instructions 150502 17:18:04 [Note] InnoDB: Initializing buffer pool, size = 128.0M 150502 17:18:04 [Note] InnoDB: Completed initialization of buffer pool 150502 17:18:04 [Note] InnoDB: Highest supported file format is Barracuda. 150502 17:18:04 [Note] InnoDB: 128 rollback segment(s) are active. 150502 17:18:04 [Note] InnoDB: Waiting for purge to start 150502 17:18:04 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 2267068 handlersocket: initialized 150502 17:18:04 server_audit: MariaDB Audit Plugin version 1.2.0 STARTED. 150502 17:18:05 server_audit: STOPPED 150502 17:18:05 [Note] unregister_replicator OK handlersocket: terminated 150502 17:18:05 [Note] InnoDB: FTS optimize thread exiting. 150502 17:18:05 [Note] InnoDB: Starting shutdown... 150502 17:18:06 [Note] InnoDB: Shutdown completed; log sequence number 2267078 OK PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! To do so, start the server, then issue the following commands: '/usr/bin/mysqladmin' -u root password 'new-password' '/usr/bin/mysqladmin' -u root -h vbox.btspuhler.com password 'new-password' Alternatively you can run: '/usr/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. See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: service mysqld start You can test the MariaDB daemon with mariadb-bench package Please report any problems at http://mariadb.org/jira The latest information about MariaDB is available at http://mariadb.org/. You can find additional information about the MySQL part at: http://dev.mysql.com Support MariaDB development by buying support/new features from MariaDB Corporation Ab. You can contact us about this at sales@mariadb.com. Alternatively consider joining our community based development effort: http://mariadb.com/kb/en/contributing-to-the-mariadb-project/ [root@vbox ~]# mysql_upgrade --skip-write-binlog Version check failed. Got the following error when calling the 'mysql' command line client ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") FATAL ERROR: Upgrade failed
View Attachment As Raw
Actions:
View
Attachments on
bug 15827
: 6431