Help - Search - Members - Calendar
Full Version: How Do I Install Msql In Ubuntu ?
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
dann12
My professor told me to use ubuntu and then he told me to install it through terminal.
And now I'm not able to understand how do I do it ?

One more thing, I'm behind proxy sad.gif
That is making my life more confusing...
ssfdre38
sudo apt-get install mysql-server phpmyadmin

Thoes 2 will help and make sure you type it how i have it so you can get mysql-server and a database administrator with web services
dann12
phpmyadmin ?
Will it install php also ? smile.gif
ssfdre38
yes and apache2 as well
dann12
okay.. Is it possible to install only mysql but not php ? smile.gif
ssfdre38
sudo apt-get install mysql-server
shan2
Currently my system is running on to the ubuntu 10.10 operating system. And it is really working good for me. But in this the thing is here that I cannot install the MySQL Workbench on my OS. Well I really do not acquainted with the reason behind it is and why it is not allowing me to do the installation. At whatever time I am trying to do the installation the procedure starts but then the system freezes in middle and only alternative remains in front of me is to start the procedure to reboot the system. Please help me out in this case.
ssfdre38
go to http://dev.mysql.com/downloads/workbench/5.2.html#downloads and look for Ubuntu linux and download the x86 32bit .deb file but make sure you have administrator access first
shanmarsh
hi all it's my first time to deal with Linux. everybody told me Ubuntu is the easiest to start with. but now I need to install MySQL 5. I got confused.
ssfdre38
read what i said to do
vikramrandhawa
Installing MySQL 5 Server on Ubuntu is a quick and easy process. It almost feels like it should be more difficult.
Open a terminal window, and use the following command:
sudo apt-get install mysql-server
If you are running PHP you will also need to install the php module for mysql 5:
sudo apt-get install php5-mysql
To create a new database, use the mysqladmin command:
mysqladmin create <databasename>
timpane
At anything time I am seeking to manage the setting up the method begins but then the scheme freezes in middle and only alternate continues in front of me is to start the method to reboot the system. Please assist me out in this case.
ssfdre38
use the package manager to do it and look for MySQL Server
martinnman
Start your MySQL server by using the command:
/etc/rc.d/init.d/mysql start

You can stop it through this command:
/etc/rc.d/init.d/mysql stop

Surprisingly enough, a Google search for “mysql start” returned this in the first couple of results.
ssfdre38
ok on ubuntu HTTPd (apache2) and MySQL start when your computer starts up so you dont need to start it up and /etc/rc.d/mysqld start is NOT the way to start it up its service mysql start now
dann12
Thanks everyone.. I've finally installed it on my ubuntu biggrin.gif
Now I see that there are newer version coming up, how do I update my old version without uninstalling it ? smile.gif
ssfdre38
just do do-upgrade-release or do-release-upgrade
dann12
I needn't specify anything else ?
I mean I just want to update mysql not all the applications. So, do I need to type something else ? smile.gif
ssfdre38
well with ubuntu to upgrade it from the distro is that way or you can do a source build but that will take longer
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.