🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #78

Re: [����]MySQL Linux��װ����������

#78
From: Galaxy��VOLUNTEERS��Database
Date: Sun, 16 Aug 2009 14:08
37 lines
2589 bytes
����1��
����취 �����г�ʼ��Ȩ�ޱ��ʱ��ʹ�����Ӳ���--datadir �������ʽΪ��
shell> scripts/mysql_install_db --user=mysql --datadir=/usr/local/mysql/var
��������ͽ���ˡ� 

����2��
�������� ��װ����mysql��û�� ִ�� mysql_install_db �ű���

����ű� ���ϵͳ ��ݿ� mysql ����� ��ݿ�  test

�� �������� mysql���vku�Ƿ� ���� �������� ���Ŀ¼��Ĭ��..../mysql/var��
������������ Ȩ��

����3��
��Ҫ��my.cnf�ж����socket=/var/lib/mysql/mysql.sock������socketָ���·��

��google�����ٿ���

�� �� daihaipeng (�Ǻ�) �Ĵ������ᵽ: ��
: �ҲŰ�װ��mysql Ȼ��service mysql start��ʾStarting MySQL..Manager of pid-file
:  quit without updating f[ʧ��]  ���ֿ���һ��/var/log/mysqld.log ��ʾ��
: 090815 20:50:15 mysqld_safe Starting mysqld daemon with databases from /var/li
: b/mysql
: 090815 20:50:16 [Note] Plugin 'FEDERATED' is disabled.
: ^G/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
: 090815 20:50:16 [ERROR] Can't open the mysql.plugin table. Please run mysql_up
: grade to create it.
: 090815 20:50:16  InnoDB: Started; log sequence number 0 44233
: 090815 20:50:16 [ERROR] Can't start server : Bind on unix socket: Permission d
: .................������ʡ�ԣ�

--
Welcome to Database Board
��ӭ������ݿ��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 58.35.147.116]
Technical Details
Message-ID: <4hQY2D$b8i@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.netfront.net!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 4df683fd51,d54bd86a01ea7265,start
X-Google-Attributes: gid4df683fd51,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.netfront.net!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: Re: [����]MySQL Linux��װ����������
Date: 16 Aug 2009 14:08:37 GMT
Organization: ��ˮ˼Դ
Message-ID: <4hQY2D$b8i@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1250431597.A