# To install MySql database:
sudo apt-get install mysql-server
# To start MySql server:
/etc/init.d/mysql start
# To stop MySql server:
/etc/init.d/mysql stop
# To restart MySql server:
/etc/init.d/mysql restart
# To check the status of MySql server:
/etc/init.d/mysql status
RSS - Posts
I’m from Brazil!!!!
very good…
Comment by Alexandre — October 5, 2008 @ 8:04 am |
Yes, very nice blog.
Thanks for the tips.
Comment by auravisya — November 4, 2008 @ 8:37 am |
I’m new to ubuntu and mysql..
thks for the help!
Comment by www.WebNike.com — November 20, 2008 @ 10:43 am |
thankz it helped a lot. and now i have successfully installed all of them and i have to configure the apache .conf file
Comment by raz — February 21, 2009 @ 1:58 am |
Thank about your information..This is so important for me..
Because i often make it for my job …
Thank it helped me alot..
Ok
Comment by Gagat Rahina — March 13, 2009 @ 3:38 am |
the commands wave very useful to me.
Comment by Anbalagan — March 31, 2009 @ 5:13 am |
Helpfully
Comment by scapegraceboy — May 23, 2009 @ 3:49 pm |
Thanks for your information
Comment by Didula Lakshitha — August 1, 2009 @ 2:32 am |
Great blog
Helped me a lot
Comment by gaurav — August 6, 2009 @ 3:14 am |
Thanks , very good
Comment by Jhon — August 9, 2009 @ 8:10 am |
Good post. Following might be easier especially for Windows folks are more used to services.
Comment by Ashish Kaushal — September 12, 2009 @ 9:38 am |
hi i used the code but output is coming permission denied
Comment by santosh — October 30, 2009 @ 6:23 am |
try the command with ’sudo’ in the beginning.
Comment by abbysays — October 30, 2009 @ 11:39 pm |
Thanks for these useful handy commands.
Comment by Kuldeep — November 11, 2009 @ 7:09 pm |
Hi. I am trying to get rid of mysql server 5.0 on ubuntu 8.04 and I get this. help
Removing mysql-server-5.0 …
/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable
invoke-rc.d: initscript mysql, action “stop” failed.
dpkg: error processing mysql-server-5.0 (–purge):
subprocess pre-removal script returned error exit status 1
/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable
invoke-rc.d: initscript mysql, action “stop” failed.
/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable
invoke-rc.d: initscript mysql, action “start” failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment by Adam S. — November 21, 2009 @ 8:35 pm |
very useful commands. thanks Abby!!
Comment by Beny — November 24, 2009 @ 3:20 pm |