installation of mysql database packeges without internet

Asked by raju

Hello
i am using ubuntu 10.4 desktop verson

i want to install the mysql 5.5 from the manuly

now it is possible to install form inetnet only with command install-mysql-server 5.1

so i want the step by step guide to install mysql server and gui tool without internet connection or with packege

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alessandro Menti (elgaton) said :
#1

Do you want to install MySQL 5.1 (using the Ubuntu repositories) or MySQL 5.5 (from the MySQL Web site)?

Revision history for this message
raju (rajuamuchunde) said :
#2

i want to the install mysql from mysql 5.5 mysql web site

Revision history for this message
Jacobsallan (jacobsallan) said :
#3

5.1 is the Ubuntu version -- you could install it from an Ubuntu CD or DVD. 5.5 (or 5.6) is a MySQL product. I could not find any place in their web site which could be used to order CDs or DVDs.

You need to go to the MySQL web site and ask there.

Revision history for this message
Alessandro Menti (elgaton) said :
#4

Another solution might be downloading the MySQL 5.5 package from their Web site using a computer with Internet access and use a CD, DVD or USB key to transfer the installation package to the computer in question.

1) Go to <http://www.mysql.com/>.
2) Click on the "Downloads (GA)" tab, just under the MySQL logo.
3) Click on "Download" under the section "MySQL Community Server".
4) From the list of downloads, click on "Download" next to the "Linux - Generic 2.6 (x86, 32-bit), Compressed TAR Archive" or "Linux - Generic 2.6 (x86, 64-bit), Compressed TAR Archive" package (choose the right one according to the architecture of your system).
5) In the page that opens, choose "No thanks, just take me to the downloads" under the box that asks you to register or log in.
6) Another page will open showing you a list of available mirrors, select one near you and download the file.
7) Repeat steps 1) to 6) to download MySQL Workbench from the MySQL Web site.
8) Transfer the downloaded package to the system where you want it to be installed.

To install MySQL Server:
1) Make sure that the mysql-server packages have been uninstalled from the system, as well as any previous MySQL installations.
2) Issue the following commands (taken from the official installation instructions):
cp /path/to/the/mysql/package /usr/local # Replace "/path/to/the/mysql/package" with the complete path to the MySQL package you downloaded
groupadd mysql
useradd -r -g mysql mysql
cd /usr/local
tar zxvf mysql-5.5.17-linux2.6-x86_64.tar.gz # Replace it with the name of the package you downloaded
ln -s /usr/local/mysql-5.5.17-linux2.6-x86_64 mysql # Replace "mysql-5.5.17-linux2.6-x86_64" with the right version string - it is equal to the name of the package you downloaded, minus ".tar.gz"
cd mysql
chown -R mysql .
chgrp -R mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
cp support-files/my-medium.cnf /etc/my.cnf
bin/mysqld_safe --user=mysql &
cp support-files/mysql.server /etc/init.d/mysql.server

To install MySQL Workbench, I think it is enough to unpack the downloaded package (using "tar xzf name.of.the.package.tar.gz") in a suitable folder, like /usr/local.

Can you help with this problem?

Provide an answer of your own, or ask raju for more information if necessary.

To post a message you must log in.