Install infobright in centos

Source: Internet
Author: User
1, download the infobright-4.0.7-0-x86_64-ice.rpm, 2, rpm command to install the package, after the installation is complete, infobright home directory:/usr/local/infobright/3, enter the mysql User, run/usr/local/infobright/bin/mysqld -- skip-grant & amp; start 4, mysql-ib go to mysql control 1, download infobright-4.0.7-0-x86_64-ice.rpm, 2, rpm command to install the package, after the installation is complete, the main directory of infobright is/usr/local/infobright/3. enter the mysql User, run/usr/local/infobright/bin/mysqld -- skip-grant & start 4 and mysql-ib to enter the mysql console. 5. stop the database service: go to the main directory/bin and run. /mysqld stop 6, configure the username # mysqladmin-uroot-p password 'newpassword' Enter password: mysqladmin: connect to server at 'localhost' failed error: 'access denied for user' root' @ 'localhost' (using password: YES) 'is the solution I have found. (test method 3 first. thank you !): Method 1: Enter the mysql User #/etc/init. d/mysql-ib stop #/usr/local/infobright/bin/mysqld_safe -- user = mysql -- skip-grant-tables -- skip-networking & #/usr/local/infobright/ bin/mysql-ib-u root mysql> UPDATE user SET Password = PASSWORD ('newpassword ') where USER = 'root'; mysql> flush privileges; mysql> quit #/etc/init. d/mysql restart #/usr/local/infobright/bin/mysqld-ib-uroot-p Enter password: <输入新设的密码newpassword> 7. configure to allow external connections: go to the mysql console: mysqld-ib-u root-ppass;
  1. SELECT 'host', 'user' FROM User;
  2. UPDATE user SET 'host' = '%' WHERE 'user' = 'root' LIMIT 1;
  3. Flush privileges;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.