| | |
| Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
Autor | Správa |
---|
Registrovaný: 14.05.13 Prihlásený: 12.03.24 Príspevky: 122 Témy: 47 | Napísal jumper: 02.11.2020 9:58 | |
|
Nazdar, uz hodnu chvilu sa trapim s instalaciou MySQL servera. Rad by som pouzival MariaDB 10.3 a MySQL 5.6 mam Ubuntu 14.04 a stale mi to vyhadzuje toto: Kód: server@server:~$ sudo apt-get install mysql-server Kód: Reading package lists... Done Building dependency tree Reading state information... Done mysql-server is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ak zadam Kód: mysql status vyhodi mi toto Kód: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Viete mi pomoct? Dakujem. Skusam nejake rady z gugelu ale nic nejake remove, purge a furt to iste dookola dokonca ani purge ani remove nefunguje podla vsetkeho
|
|
Registrovaný: 01.05.05 Príspevky: 13349 Témy: 1496 Bydlisko: Bratislava | Napísal JanoF: 02.11.2020 10:19 | |
|
"sudo apt-get install mysql-server"
ti predsa nainstaluje mysql-server 5.5, ktory uz mas nainstalovany co ti aj vratilo
"mysql-server is already the newest version."
cize ten odstran a instaluj
"sudo apt-get install mysql-server-5.6"
alebo pozri ake baliky mozes vobec instalovat pomocou
"apt-cache search mysql-server"
_________________ Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF & 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 | iPhone X 256 GB & Pitaka Aramid | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA | Ubuntu Server |
|
Registrovaný: 14.05.13 Prihlásený: 12.03.24 Príspevky: 122 Témy: 47 | Napísal autor témy jumper: 02.11.2020 16:23 | |
|
no idem odznova a a pri instalacii mi to hlasi toto Kód: Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.5_5.5.62-0ubuntu0.14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
|
|
Registrovaný: 01.05.05 Príspevky: 13349 Témy: 1496 Bydlisko: Bratislava | Napísal JanoF: 02.11.2020 16:57 | |
|
mozno by nebolo odveci napisat ze co instalujes, pises tu o MySQL 5.6 a pritom instalujes MySQL 5.5
sudo rm /var/cache/apt/archives/mysql-server-5.5_5.5.62-0ubuntu0.14.04.1_amd64.deb sudo apt-get install -f sudo apt-get install mysql-client mysql-server
tym zacnes instalovat mysql 5.5
ak chces 5.6 tak sudo apt-get remove mysql-server mysql-client sudo apt-get install mysql-server-5.6 mysql-client-5.6
_________________ Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF & 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 | iPhone X 256 GB & Pitaka Aramid | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA | Ubuntu Server |
|
Registrovaný: 14.05.13 Prihlásený: 12.03.24 Príspevky: 122 Témy: 47 | Napísal autor témy jumper: 02.11.2020 18:30 | |
|
spusta teda Kód: sudo apt-get install mysql-server-5.6 mysql-client-5.6 a konci to: Kód: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: mysql-client-core-5.6 mysql-common-5.6 mysql-server-core-5.6 Suggested packages: mailx tinyca The following packages will be REMOVED: mysql-client-5.5 mysql-client-core-5.5 The following NEW packages will be installed: mysql-client-5.6 mysql-client-core-5.6 mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6 0 upgraded, 5 newly installed, 2 to remove and 0 not upgraded. Need to get 19,9 MB of archives. After this operation, 123 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [4 133 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [5 555 kB] Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [4 620 kB] Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [5 602 kB] Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.33-0ubuntu0.14.04.1 [12,0 kB] Fetched 19,9 MB in 4s (4 388 kB/s) Preconfiguring packages ... (Reading database ... 709447 files and directories currently installed.) Removing mysql-client-5.5 (5.5.62-0ubuntu0.14.04.1) ... Removing mysql-client-core-5.5 (5.5.62-0ubuntu0.14.04.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Selecting previously unselected package mysql-client-core-5.6. (Reading database ... 709393 files and directories currently installed.) Preparing to unpack .../mysql-client-core-5.6_5.6.33-0ubuntu0.14.04.1_amd64.deb ... Unpacking mysql-client-core-5.6 (5.6.33-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-client-5.6. Preparing to unpack .../mysql-client-5.6_5.6.33-0ubuntu0.14.04.1_amd64.deb ... Unpacking mysql-client-5.6 (5.6.33-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-server-core-5.6. Preparing to unpack .../mysql-server-core-5.6_5.6.33-0ubuntu0.14.04.1_amd64.deb ... Unpacking mysql-server-core-5.6 (5.6.33-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-server-5.6. Preparing to unpack .../mysql-server-5.6_5.6.33-0ubuntu0.14.04.1_amd64.deb ... Unpacking mysql-server-5.6 (5.6.33-0ubuntu0.14.04.1) ... Selecting previously unselected package mysql-common-5.6. Preparing to unpack .../mysql-common-5.6_5.6.33-0ubuntu0.14.04.1_all.deb ... Unpacking mysql-common-5.6 (5.6.33-0ubuntu0.14.04.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up mysql-client-core-5.6 (5.6.33-0ubuntu0.14.04.1) ... Setting up mysql-client-5.6 (5.6.33-0ubuntu0.14.04.1) ... Setting up mysql-server-core-5.6 (5.6.33-0ubuntu0.14.04.1) ... Setting up mysql-server-5.6 (5.6.33-0ubuntu0.14.04.1) ... Installing new version of config file /etc/logrotate.d/mysql-server ... Installing new version of config file /etc/apparmor.d/usr.sbin.mysqld ... Installing new version of config file /etc/init.d/mysql ... Installing new version of config file /etc/init/mysql.conf ... start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mysql-server-5.6 (--configure): subprocess installed post-installation script returned error exit status 1 Setting up mysql-common-5.6 (5.6.33-0ubuntu0.14.04.1) ... Processing triggers for ureadahead (0.100.0-16) ... Errors were encountered while processing: mysql-server-5.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
|
|
| Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|