hive 报错 "Too many connections"
·
是hive的元数据 mysql数据库的链接数太多了,通过增大max_connections解决。具体方法如下:
/etc/my.conf 中的mysqld下面设置最多链接数,set-variable
= max_connections=500
重启mysql : /etc/init.d/mysqld restart
如果能直接登入mysql的话,直接用set max_connections=100
更多推荐


所有评论(0)