• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error Update Mysql

Ismael Ares

New Pleskian
Help please plesk works but can not update mysql.

error.
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory /var/run/mysqld/mysqld.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)


Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-server i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-common i386 5.6.33-1ubuntu12.04
404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-server_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-common_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libglapi-mesa libxfixes3 ruby1.9.1-full libutempter0 x11-utils libxxf86vm1
xterm libxcb-glx0 libx11-xcb1 libxmuu1 xbitmaps libxxf86dga1 libxcb-shape0
libxcomposite1 libtcltk-ruby1.8 libxss1 tcl8.5 libgl1-mesa-dri tk8.5
libgl1-mesa-glx libxdamage1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libxinerama1
libxv1 libllvm3.0
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
mysql-client mysql-common mysql-community-client mysql-community-server
mysql-server
5 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.
Need to get 51.0 MB/51.0 MB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-server i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-common i386 5.6.33-1ubuntu12.04
404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-server_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-common_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 
Hi Ismael Ares,
are you able to ping the host from your server?...
Code:
ping -c 4 repo.mysql.com

root@server:~# ping -c 4 repo.mysql.com
PING e7528.d.akamaiedge.net (104.82.140.233) 56(84) bytes of data.
64 bytes from a104-82-140-233.deploy.static.akamaitechnologies.com (104.82.140.233): icmp_seq=1 ttl=54 time=22.1 ms
64 bytes from a104-82-140-233.deploy.static.akamaitechnologies.com (104.82.140.233): icmp_seq=2 ttl=54 time=21.8 ms
64 bytes from a104-82-140-233.deploy.static.akamaitechnologies.com (104.82.140.233): icmp_seq=3 ttl=54 time=21.9 ms
64 bytes from a104-82-140-233.deploy.static.akamaitechnologies.com (104.82.140.233): icmp_seq=4 ttl=54 time=21.9 ms

--- e7528.d.akamaiedge.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 21.875/21.984/22.125/0.138 ms


If not, you should look at your servers DNS, or add an entry for repo.mysql.com to your hosts file..

/etc/hosts
Code:
104.82.140.233    repo.mysql.com


I hope that helps.
Kind regards

Lloyd
 
i have a ping, Any other ideas

PING e7528.d.akamaiedge.net (104.86.19.154) 56(84) bytes of data.

64 bytes from a104-86-19-154.deploy.static.akamaitechnologies.com (104.86.19.154): icmp_req=1 ttl=60 time=1.18 ms

64 bytes from a104-86-19-154.deploy.static.akamaitechnologies.com (104.86.19.154): icmp_req=2 ttl=60 time=1.05 ms

64 bytes from a104-86-19-154.deploy.static.akamaitechnologies.com (104.86.19.154): icmp_req=3 ttl=60 time=1.31 ms

64 bytes from a104-86-19-154.deploy.static.akamaitechnologies.com (104.86.19.154): icmp_req=4 ttl=60 time=0.811 ms
 
MySQL update impossible, ubuntu 12.04 DNS well, and plesk well because MySQL update does not work. no data in / var / log / mysql / error.log.

I can restart mysql and I get Error

Please help.

Error apt-get upgrade:
root@h2181535:/# apt-get upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se han retenido:
linux-generic-pae linux-image-generic-pae
Se actualizarán los siguientes paquetes:
libmysqlclient-dev libmysqlclient18 log4cpp-plesk mysql-client mysql-common mysql-community-client mysql-community-server mysql-server php5-ioncube-loader psa-awstats-configurator psa-logrotate
psa-mod-fcgid-configurator psa-pear psa-spf2 psa-vhost sw-libmilter sw-mariadb-client
17 actualizados, 0 se instalarán, 0 para eliminar y 2 no actualizados.
Se necesita descargar 54,7 MB/58,9 MB de archivos.
Se utilizarán 7.191 kB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]? s
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 libmysqlclient-dev i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-server i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-common i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 libmysqlclient18 i386 5.6.33-1ubuntu12.04
404 Not Found
Imposible obtener http://repo.mysql.com/apt/ubuntu/po...bmysqlclient-dev_5.6.33-1ubuntu12.04_i386.deb 404 Not Found

Imposible obtener http://repo.mysql.com/apt/ubuntu/po...ity/mysql-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found

Imposible obtener http://repo.mysql.com/apt/ubuntu/po...community-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found

Imposible obtener http://repo.mysql.com/apt/ubuntu/po...community-server_5.6.33-1ubuntu12.04_i386.deb 404 Not Found

Imposible obtener http://repo.mysql.com/apt/ubuntu/po...ity/mysql-common_5.6.33-1ubuntu12.04_i386.deb 404 Not Found

Imposible obtener http://repo.mysql.com/apt/ubuntu/po...libmysqlclient18_5.6.33-1ubuntu12.04_i386.deb 404 N


Error update in plesk plataform:

Installation started in background
Comprobando si se resuelven las dependencias del paquete.
Instalando paquetes
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libglapi-mesa libxfixes3 ruby1.9.1-full libutempter0 x11-utils libxxf86vm1
xterm libxcb-glx0 libx11-xcb1 libxmuu1 xbitmaps libxxf86dga1 libxcb-shape0
libxcomposite1 libtcltk-ruby1.8 libxss1 tcl8.5 libgl1-mesa-dri tk8.5
libgl1-mesa-glx libxdamage1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libxinerama1
libxv1 libllvm3.0
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
mysql-client mysql-common mysql-community-client mysql-community-server
mysql-server
5 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 51.0 MB/51.0 MB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-client i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-community-server i386 5.6.33-1ubuntu12.04
404 Not Found
Err http://repo.mysql.com/apt/ubuntu/ precise/mysql-5.6 mysql-common i386 5.6.33-1ubuntu12.04
404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-client_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...community-server_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
Failed to fetch http://repo.mysql.com/apt/ubuntu/po...ity/mysql-common_5.6.33-1ubuntu12.04_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Se ha producido un error cuando se intentaban instalar los paquetes.
¡Importante! Puede que su software no esté operativo.
Contacte con el equipo de soporte técnico del producto.
 
Back
Top