mysql connection issue in Spark VM

0 votes
Hi Team,

I have tried to connect mysql in Spark Vm and getting the below error.
[edureka@localhost ~]$ mysql
bash: mysql: command not found
[edureka@localhost ~]$ pwd
/home/edureka
Dec 17, 2017 in Data Analytics by Saravana
50 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Best answer

Dear Saravana,

Hope you are doing great.

We would like to inform you that MySQL is already present in Edureka VM.

Please use below commands one by one to start mysql.

sudo service mysqld restart

mysql -u root -p    (NOTE: it's a small p)

If you are  prompted to enter password after using mysql -u root -p ,then just hit enter.Please refer below screen-shot.

I hope this resolves your query.

Please feel free to revert if you need any further help.

answered Dec 18, 2017 by Sudhir
• 1,610 points

selected Dec 18, 2017 by Sudhir

Related Questions In Data Analytics

0 votes
1 answer

": cannot open the connection" Error in R

There can be two reasons for this ...READ MORE

answered Oct 31, 2018 in Data Analytics by Kalgi
• 35,800 points
204 views
0 votes
1 answer

Error saying " Failed to connect to database: Error: Lost connection to MySQL server at 'handshake"

try this: library(RODBCext) sqlString <- "Select * from yourtable ...READ MORE

answered Nov 12, 2018 in Data Analytics by Maverick
• 10,000 points
213 views
0 votes
1 answer

Error saying " cannot open the connection" when trying to install a package in R

Try install.packages(“package_name”, repos="http://cran.us.r-p ...READ MORE

answered Nov 26, 2018 in Data Analytics by Maverick
• 10,000 points
154 views
0 votes
1 answer

Shut down the VM and restarted

Dear Raghu, Please let us know are you ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
16 views
0 votes
1 answer

mysql connection issue in Spark VM

Dear Learner, Hope you are doing well. Please go ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
46 views
0 votes
1 answer

VM with network settings in Virtual box

Dear Learner, We hope you are doing well. Please ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
38 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.