|

楼主 |
发表于 2013-9-3 12:40:17
|
显示全部楼层
zjgaoli888 发表于 2013-9-3 10:53 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var
刚测试,可以用。请把你的板型已经操作步骤贴出来看一看。
root@cubieboard:/etc# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaio1 libclass-isa-perl libdbd-mysql-perl libdbi-perl libmysqlclient18
libnet-daemon-perl libplrpc-perl libswitch-perl libterm-readkey-perl
mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5
mysql-server-core-5.5 perl perl-modules
Suggested packages:
libcompress-zlib-perl tinyca mailx perl-doc libterm-readline-gnu-perl
libterm-readline-perl-perl make libpod-plainer-perl
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
libaio1 libclass-isa-perl libdbd-mysql-perl libdbi-perl libmysqlclient18
libnet-daemon-perl libplrpc-perl libswitch-perl libterm-readkey-perl
mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 perl perl-modules
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.3 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libaio1 mysql-common libmysqlclient18 libswitch-perl libclass-isa-perl
perl-modules perl libnet-daemon-perl libplrpc-perl libdbi-perl
libdbd-mysql-perl mysql-client-core-5.5 libterm-readkey-perl
Package configuration
�������Ĵ Configuring mysql-server-5.5 ��������ÿ
� �
� �
� Repeat password for the MySQL "root" user: �
� �
� ******_____________________________________ �
� �
� <Ok> �
� �
����������������������������������������������
Selecting previously unselected package libaio1:armhf.
(Reading database ... 49053 files and directories currently installed.)
Unpacking libaio1:armhf (from .../libaio1_0.3.109-2ubuntu1_armhf.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.27-0ubuntu2_all.deb) ...
Selecting previously unselected package libmysqlclient18:armhf.
Unpacking libmysqlclient18:armhf (from .../libmysqlclient18_5.5.27-0ubuntu2_arm.
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-3_all.deb) ...
Selecting previously unselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.14.2-13_all.deb) ...
Selecting previously unselected package perl.
Unpacking perl (from .../perl_5.14.2-13_armhf.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.622-1_armhf.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1_armhf.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.27-0ubuntu2.
Selecting previously unselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build4_armh.
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.27-0ubuntu2_armhf.deb.
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.27-0ubuntu2.
Processing triggers for man-db ...
Setting up mysql-common (5.5.27-0ubuntu2) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 50847 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.27-0ubuntu2_armhf.deb.
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.27-0ubuntu2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libaio1:armhf (0.3.109-2ubuntu1) ...
Setting up libmysqlclient18:armhf (5.5.27-0ubuntu2) ...
Setting up libclass-isa-perl (0.36-3) ...
Setting up mysql-client-core-5.5 (5.5.27-0ubuntu2) ...
Setting up mysql-server-core-5.5 (5.5.27-0ubuntu2) ...
Setting up libswitch-perl (2.16-2) ...
Setting up perl-modules (5.14.2-13) ...
Setting up perl (5.14.2-13) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename)e
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.622-1) ...
Setting up libdbd-mysql-perl (4.021-1) ...
Setting up libterm-readkey-perl (2.30-4build4) ...
Setting up mysql-client-5.5 (5.5.27-0ubuntu2) ...
Setting up mysql-server-5.5 (5.5.27-0ubuntu2) ...
mysql start/running, process 2631
Processing triggers for ureadahead ...
Setting up mysql-server (5.5.27-0ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place |
|