Jump to content

Mysqli


dsalvanhini
 Share

Recommended Posts

segue o resultado.

root@srv01 [~]# yum install mysql-server mysql php-mysql -y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* epel: mirror.cogentco.com

Setting up Install Process

No package mysql-server available.

* Maybe you meant: MySQL-server

No package mysql available.

No package php-mysql available.

Error: Nothing to do

root@srv01 [~]#

Link to comment
Share on other sites

Faça o seguinte:


service cpanel stop

vi /etc/yum.conf

retire a linha "exclude="

Então repita os comandos acima e inicie o cPanel novamente.

Link to comment
Share on other sites

fetuei as instruções acima

segue o resultado

root@srv01 [~]# yum install mysql-server mysql php-mysql -y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

epel/metalink | 27 kB 00:00

* epel: mirror.cogentco.com

base | 3.7 kB 00:00

centosplus | 3.5 kB 00:00

contrib | 951 B 00:00

cr | 3.0 kB 00:00

extras | 3.5 kB 00:00

updates | 3.5 kB 00:00

updates/primary_db | 692 kB 00:00

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package mysql.x86_64 0:5.1.52-1.el6_0.1 will be installed

--> Processing Dependency: mysql-libs = 5.1.52-1.el6_0.1 for package: mysql-5.1.52-1.el6_0.1.x86_64

---> Package mysql-server.x86_64 0:5.1.52-1.el6_0.1 will be installed

--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.52-1.el6_0.1.x86_64

---> Package php-mysql.x86_64 0:5.3.3-3.el6_2.5 will be installed

--> Processing Dependency: php-common = 5.3.3-3.el6_2.5 for package: php-mysql-5.3.3-3.el6_2.5.x86_64

--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_2.5.x86_64

--> Running transaction check

---> Package mysql-libs.x86_64 0:5.1.52-1.el6_0.1 will be installed

---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed

---> Package php-common.x86_64 0:5.3.3-3.el6_2.5 will be installed

---> Package php-pdo.x86_64 0:5.3.3-3.el6_2.5 will be installed

--> Processing Conflict: mysql-server-5.1.52-1.el6_0.1.x86_64 conflicts MySQL-server

--> Processing Conflict: mysql-5.1.52-1.el6_0.1.x86_64 conflicts MySQL

--> Finished Dependency Resolution

Error: mysql conflicts with MySQL-server

Error: mysql-server conflicts with MySQL-server

You could try using --skip-broken to work around the problem

** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:

bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)

bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)

bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)

exim-4.77-1.x86_64 has missing requires of perl(SafeFile)

frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0

Link to comment
Share on other sites

Rodrigo, se o cara tem cPanel, não deve fazer isso, vai modificar o sistema. Basta ir através do Easyapache, seguir os passos, e em Exhaustive list, você vai encontrara a opção de Mysqli, então, basta marcar e aguardar o rebuild.

Não sei, não trabalho com cPanel :P.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...