In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
To configure the Federated engine (function: cross-database operation), you need a version above mysql5.0. The specific configuration method is as follows:
1. First go to the MySQL database to see if the federated engine is installed
Enter command: show engines
Note: it can be seen that the federated engine is not turned on.
two。 Exit the database and edit vim / etc/my.cnf to add a line of federated to this file and save exit
3. Restart the database (currently a centos7 system)
Service mysqld restart
4. Enter the database and query show engines again.
Yes has been shown in the image above, so it indicates that it has been enabled successfully!
There are three steps to build a MySQL database:
Create a database and specify the character set
Create database feiyu character set utf8
2. Create a user and authorize it
Grant all privileges on feiyu.* TO 'feiyu'@'%' identified by' password 'WITH GRANT OPTION
3. Refresh and take effect
Flush privileges
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.