Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed xampp x64 v5.6.14-0 on Centos 7.1 x64.
When I open webpages, I got "MySQL Connect Error!!!" or 1045 error message.
1. The error parts of the contents of the MYSQL log is here;
Quote:
2015-11-14 17:59:35 2983 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/localhost.localdomain.pid ended
2015-11-14 17:59:38 3573 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
151114 17:59:38 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151114 17:59:38 [Note] InnoDB: The InnoDB memory heap is disabled
151114 17:59:38 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
151114 17:59:38 [Note] InnoDB: Memory barrier is not used
151114 17:59:38 [Note] InnoDB: Compressed tables use zlib 1.2.8
151114 17:59:38 [Note] InnoDB: Using CPU crc32 instructions
151114 17:59:38 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151114 17:59:38 [Note] InnoDB: Completed initialization of buffer pool
151114 17:59:38 [Note] InnoDB: Highest supported file format is Barracuda.
151114 17:59:38 [Note] InnoDB: 128 rollback segment(s) are active.
151114 17:59:38 [Note] InnoDB: Waiting for purge to start
151114 17:59:38 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1625766
151114 17:59:38 [Note] Server socket created on IP: '::'.
151114 17:59:38 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
151114 17:59:38 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_ FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAX DB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALU E_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZE RO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_ PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY',' NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTI ONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_B ACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_A
151114 17:59:38 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
151114 17:59:38 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
151114 17:59:38 [Note] /opt/lampp/sbin/mysqld: ready for connections.
Version: '10.0.17-MariaDB' socket: '/opt/lampp/var/mysql/mysql.sock' port: 3306 Source distribution
I'm googleing now, and the result of "mysql_upgrade" is here.
Quote:
[root@localhost ~]# mysql_upgrade
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.