ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Simply + LAMP. Запуск MySQL.
@ 2012-05-29  1:48 Алексей Сиваков
  2012-05-29  4:15 ` Андрей Черепанов
  0 siblings, 1 reply; 2+ messages in thread
From: Алексей Сиваков @ 2012-05-29  1:48 UTC (permalink / raw)
  To: community

     Установил в Simply LAMP. Apache и PHP запустил. А, вот, с MySQL не 
могу разобраться.

Пишу в терминал: mysql -u root mysql
Результат: ERROR 2002 (HY000): Can't connect to local MySQL server 
through socket '/var/lib/mysql/mysql.sock' (2)
Как запустить?

Смотрю по этому учебнику - 
http://schoollinux.narod.ru/index.html?WebApache2.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Simply + LAMP. Запуск MySQL.
  2012-05-29  1:48 [Comm] Simply + LAMP. Запуск MySQL Алексей Сиваков
@ 2012-05-29  4:15 ` Андрей Черепанов
  0 siblings, 0 replies; 2+ messages in thread
From: Андрей Черепанов @ 2012-05-29  4:15 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: Text/Plain, Size: 509 bytes --]

29 мая 2012 Алексей Сиваков написал:
>      Установил в Simply LAMP. Apache и PHP запустил. А, вот, с MySQL не
> могу разобраться.
> 
> Пишу в терминал: mysql -u root mysql
> Результат: ERROR 2002 (HY000): Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (2)
> Как запустить?
service mysqld start

По соображениям безопасности службы лучше запускать от непривелигированного 
пользователя и в отдельном окружении (chroot, чруте).

-- 
Андрей Черепанов
ALT Linux
cas@altlinux.ru

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-29  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-29  1:48 [Comm] Simply + LAMP. Запуск MySQL Алексей Сиваков
2012-05-29  4:15 ` Андрей Черепанов

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git