Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-03-2014, 06:14 AM   #1
Registered: Aug 2010
Posts: 138

Rep: Reputation: 2
how to start built-in mysql in centos6.4.

hi to all,
I'm new in mysql database. I checked mysql already installed (or shipped) with centos6.4 as follows :-
[root@kaljayi rahul]# rpm -qa mysql-server
[root@kaljayi rahul]# rpm -qa mysql-client
[root@kaljayi rahul]# rpm -qa mysql
But I don't know how to start or configure (if it starts with startup of operating system) it. Help me to how to start and configure mysql. I also installed mysql-workbentch-5.2.31, but don't know how to work with this.
Old 09-03-2014, 09:50 AM   #2
LQ Newbie
Registered: Dec 2009
Location: NEW YORK
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Check if MySQL is already running:
service mysqld status
Start MySQL:
service mysqld start
Log into MySQL:
mysql -u root -p -h
Old 09-03-2014, 06:28 PM   #3
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
You should run mysql_secure_installation script after you get mysql started.
Old 09-03-2014, 10:19 PM   #4
Registered: Aug 2010
Posts: 138

Original Poster
Rep: Reputation: 2
Thank you very much for your reply. I did it like you said and found solution :-

[root@kaljayi rahul]# service mysqld start
[root@kaljayi rahul]# chkconfig mysqld on

[root@kaljayi rahul]# mysql_secure_installation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Master-Master Replication Setup (v5.5 CentOS6.3 / Ubuntu 12.04) fruitwerks Linux - Server 1 08-20-2013 12:13 AM
mysql errors on centOS6 WoAnerges Linux - Networking 15 05-02-2012 01:31 PM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 12:04 PM
Compaq Presario A945US built-in webcam -- where to start? ZeroDaHero Linux - Laptop and Netbook 1 08-25-2008 04:07 PM
Can't start Slack-Built KDM Themes Manager and_ru Slackware 3 12-30-2007 04:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration