Hive 使用mysql 作为Metastore
Hive 使用mysql 作为Metastore Hive 0.12.0,mysql 5.1.26 ===================================================== 设置mysql 0. mysql -u root -p 1.mysql> CREATE USER 'hive'@'localhost' IDENTIFIED BY 'mysql'; 2.mysql> GRANT ALL PRIVILEGES ON *.* TO 'hive'@'localhost' WITH GRANT OPTION; 3.mysql>flush privileges; --- $mysql -u hive-p 1.Create a database with name metastore which will store the hive metastore mysql>create database metastore; 2. Create the schema mysql>