MYSQL On Linux

Support for webhosts that use CentOS
goathegod
Posts: 18
Joined: 2006/12/10 03:32:27
Contact:

MYSQL On Linux

Post by goathegod » 2006/12/10 03:38:16

Hello all.
i got a problem whit installing MYSQL
i can download is from the mysql site.
but how can i install the mysql ?
i have tried different way's.

does some one know the easy snake way for to help me ?

eukhost
Posts: 8
Joined: 2006/10/20 20:10:33
Contact:

Re: MYSQL On Linux

Post by eukhost » 2006/12/10 08:45:44

Installing MySQL using an rpm would be easiest option for you to install MySQL on your server. Download an rpm of version for or 5 as per your requirement and install it using following command :-

rpm -ivh rpm-name

where rpm-name is the name of rpm that you have downloaded. Make sure that you check the kernel version of your server and verify if its 32 bit or 64 bit. You will need to download rpm as per the hardware type and kernel.

goathegod
Posts: 18
Joined: 2006/12/10 03:32:27
Contact:

Re: MYSQL On Linux

Post by goathegod » 2006/12/10 12:33:19

Ehmm.. what need i to do here ?

[img]http://82.174.229.93/images/linux.png[/img]

sorry, a frend of my helps me whit it. but i also don't know it

jowa
Posts: 75
Joined: 2005/07/10 14:42:39

Re: MYSQL On Linux

Post by jowa » 2006/12/10 13:18:13

[quote]does some one know the easy snake way for to help me ?[/quote]
It seems that neither you nor your friend are familiar with RPM-based distributions, and perhaps
Linux in general. If that's the case, I suggest you take the safer road and use the version of MySQL that comes with CentOS (4.1.20)

If that server of yours has a proper internet connection, you can install MySQL using the command
[code]yum install mysql mysql-server[/code]

goathegod
Posts: 18
Joined: 2006/12/10 03:32:27
Contact:

Re: MYSQL On Linux

Post by goathegod » 2006/12/10 17:58:29

Ok, i have tried thad way manny times befor i gues..
[img]http://82.174.229.93/images/linux2.jpg[/img][quote]
jowa wrote:
[quote]does some one know the easy snake way for to help me ?[/quote]
It seems that neither you nor your friend are familiar with RPM-based distributions, and perhaps
Linux in general. If that's the case, I suggest you take the safer road and use the version of MySQL that comes with CentOS (4.1.20)

If that server of yours has a proper internet connection, you can install MySQL using the command
[code]yum install mysql mysql-server[/code][/quote]

foxb
Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Re: MYSQL On Linux

Post by foxb » 2006/12/10 22:32:59

Could you try
[code]
yum clean all
yum update
[/code]
before doing actual mysql installation

Also could you post result of
[code]
cat /etc/redhat-release
rpm -qa mysql*
[/code]

goathegod
Posts: 18
Joined: 2006/12/10 03:32:27
Contact:

Re: MYSQL On Linux

Post by goathegod » 2006/12/12 06:25:35

You mean this ?

[img]http://skflan.nl.tp/images/centos.png[/img]

jowa
Posts: 75
Joined: 2005/07/10 14:42:39

Re: MYSQL On Linux

Post by jowa » 2006/12/12 13:13:11

That output tells us that you have previously been able to install [i]some[/i] of the MySQL 5.0 packages from the CentOSPlus repository. That's OK - you can choose to install the corresponding [i]mysql-server[/i] package from the same repository.

However, before doing that, I urge you to read up on what "CentOSPlus" is and understand what the implications of using it are. Have a look here:

[url=http://www.centos.org/modules/smartfaq/faq.php?faqid=36]What is the centosplus repository for CentOS-4?[/url]

A second and perhaps better option is to uninstall some the 5.0 packages already installed and and then use the default MySQL 4.1.20 packages that are an integral part of CentOS 4.

[b][u]Option 1 - keep the already installed packages and add the MySQL 5.0 server[/u][/b]

(This is the "you need to know what you're doing and what the implications are. Really." option.)
[code]yum --enablerepo=centosplus install mysql-server[/code]


[b][u]Option 2 - use the core CentOS 4 MySQL packages[/u][/b]

First, we uninstall the three packages that came from CentOSPlus:
[code]yum remove mysqlclient14 mysql-devel mysql[/code]
When that has completed, install MySQL 4:
[code]yum install mysql mysql-server[/code]

goathegod
Posts: 18
Joined: 2006/12/10 03:32:27
Contact:

Re: MYSQL On Linux

Post by goathegod » 2006/12/12 15:20:58

Thanx all :P now it works.
thank you soo mutch :D



Big kiss to all 8-)

afandi
Posts: 1
Joined: 2007/02/01 03:09:08
Contact:

Re: MYSQL On Linux

Post by afandi » 2007/02/01 03:15:23

Yes, I am also using Terminal yum install mysql-server
it is already installed but I try to install JOOMLA 1.10 Linux version but MYSQL still unavailable.Eventhough, I could create the database.Herewith the result, I can't install JOOMLA without that permission.

PHP version >= 4.1.0 Yes
- zlib compression support Available
- XML support Available
- MySQL support Unavailable
configuration.php Unwriteable

HOw to make it Available

Post Reply

Return to “CentOS 4 - Webhosting Support”