firmware: MyBookLive 02.41.05-034 (mybooklive 3T Black)
uname -a
Linux mybook 2.6.32.11-svn70860 #1 Thu May 17 13:32:51 PDT 2012 ppc GNU/Linux
mybook:~# apt-get update
mybook:~# apt-get install mysql-server
…
Unpacking replacement locales …
Preparing to replace libc6-ppc64 2.11.2-2 (using …/libc6-ppc64_2.13-38_powerpc.deb) …
Unpacking replacement libc6-ppc64 …
Preparing to replace libc-bin 2.11.2-2 (using …/libc-bin_2.13-38_powerpc.deb) …
Unpacking replacement libc-bin …
dpkg: error processing /var/cache/apt/archives/libc-bin_2.13-38_powerpc.deb (—unpack):
trying to overwrite '/etc/ld.so.conf.d/libc.conf', which is also in package wd-lib 01.04.01-81092
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db …
Errors were encountered while processing:
/var/cache/apt/archives/libc-bin_2.13-38_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
this is fixed by
mybook:/# dpkg -i —force-overwrite /var/cache/apt/archives/libc6_2.13-38_powerpc.deb
mybook:/# apt-get -f install
…
finally mysql is installed
mybook:/# ls -l /etc/init.d/mysql
-rwxr-xr-x 1 root root 5437 Jun 8 2012 /etc/init.d/mysql
mybook:/# mysqladmin -u root -p ping
password: xxx
mysqld is alive
mybook:/# /etc/init.d/mysql status
[info] /usr/bin/mysqladmin Ver 8.42 Distrib 5.5.30, for debian-linux-gnu on ppc
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Server version 5.5.30-1
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 23 min 33 sec
Threads: 1 Questions: 583 Slow queries: 0 Opens: 445 Flush tables: 2 Open tables: 41 Queries per second avg: 0.412.
mybook:/# mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 44
Server version: 5.5.30-1 (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> quit
Bye
Problem is, I relogin mybook with putty ssh, it's not working anymore!!!
Any idea?