Support Questions

Find answers, ask questions, and share your expertise

DataNode Install Error on MySQL

avatar
Contributor

Hi All,

I am having the issue in installing the MySQL when creating the datanode. Help will be appreciated. Sorry for much trouble as I am totally new to it.

datanode-mysql-issue.png

Best Regards

David

1 ACCEPTED SOLUTION

avatar
Master Mentor

@David Yee review your /etc/yum.repos.d/ directory for HDP-UTILS-1... entry and remove one of the entries. it says you have it listed more than once. Then do yum clean all, yum search mysql.

View solution in original post

19 REPLIES 19

avatar
Master Mentor

run it manually and paste error here @Mark Thorson

yum install -y mysql-server

avatar
Expert Contributor

I ran that script and it returned "No Package mysql-server available. Error: Nothing to do". I take it I need to download a mysql package (MySQL 5.6) then try it again.

avatar
Master Mentor

@Mark Thorson try the command below first, if no result, download manually and install

yum search all mysql

avatar
Expert Contributor

Looks like mysql is installed. Do you think it could be something with the version of mysql installed? Maybe an incompatible version was installed?

2271-hadoop-support-mysql-2.jpg

avatar
Master Mentor

try this

yum install mysql-community-release

avatar
Expert Contributor

I tried that and it gave me the same result as before "No package mysql-community-release available Error: Nothing to do". @Artem Ervits

avatar
Expert Contributor

I followed the steps on this following link and I was able to successfully install MySQL. http://ahmed.amayem.com/installing-latest-version-of-mysql-on-linux-centos-6-production-server/

avatar
Contributor

Wow... thank you so much Artem. It works.

avatar
Master Mentor

@David Yee not to sound repetitive, but once you get a solution, please accept answers that helped resolve the question. This will help other users and this site doesn't get cluttered with unanswered threads.

Thanks

avatar

Do the following

yum clean all
yum clean dbcache
yum clean metadata
yum makecache
rpm —rebuilddb
yum history new

@David Yee Are you following any instructions to install on AWS?

It seems that this the help you really need.

See the answer to

https://community.hortonworks.com/questions/10728/ambari-fails-to-register.html

Or check out these resources.