Hive用MySQL做元数据保存的数据库时,mySQL设置
BODY { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } P { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } DIV { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } TD { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }?
安装MySQL:
# tar -zxvf mysql-5.1.37.tar.gz -C /usr/local
#?
cd /usr/local/mysql-5.1.37/
# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data/ --without-debug --with-charset=utf8 --with-extra-charsets=all --enable-assembler --with-pthread --enable-thread-safe-client --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-big-tables --with-plugins=all
#?
make && make install
# cp ./support-files/mysql.server /etc/init.d/mysql
# groupadd mysql
# useradd -g mysql mysql
#?
chmod 777 /etc/init.d/mysql