From: "Alexandr" <mirus@newmail.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] MySql
Date: Wed, 17 Dec 2003 10:24:58 +0300
Message-ID: <010b01c3c46f$054f8fa0$0c42a8c0@alex> (raw)
In-Reply-To: <200312162056.31438.i92@mma.ru>
> > > В сообщении от Вторник 16 Декабрь 2003 02:03 Alexandr написал(a):
> > > > Здравствуйте!
> > > > Скажите можно ли изменить путь к базе данных mysql?
> > > > Если да, то где это прописывается?
> > >
> > > да, /etc/my.cnf
> >
> > Переправил в /etc/my.cnf пути, переместил директорию mysql в нужное
место,
> > перезапустил mysqld, зайти в mysql не получается пишет:
> > [root@Server mysql]# mysql -u root -p
> > Enter password:
> > ERROR 2002: Can't connect to local MySQL server through socket
> > '/var/lib/mysql/mysql.sock' (2)
> >
> > Может надо еще где-то править?
>
> mysql скорее всего просто не стартовал.... , посмотри наличие файла
> /var/lock/subsys/mysqld (не знаю зачем он изначально имеется, или может
> служба какая его создает, но у меня частенько быает, что он есть, и не
дает
> стартовать mysql) если есть удали, и перезапусти mysql
Проверил. MySql запускается. Если зайти с другого компьютера в сети, то все
нормально (можно с базами работать).
А локально не хочет пишет ошибку. Форум работающий с mysql тоже не работает.
next prev parent reply other threads:[~2003-12-17 7:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-16 8:11 ` ig
2003-12-16 14:26 ` Alexandr
2003-12-16 16:32 ` [Comm] MySql Michael Shigorin
2003-12-16 17:59 ` Igor
2003-12-16 17:56 ` [Comm] MySql Igor
2003-12-17 7:24 ` Alexandr [this message]
2003-12-17 7:34 ` Maxim.Savrilov
2003-12-17 8:01 ` Alexandr
2003-12-17 8:22 ` Maxim.Savrilov
2003-12-17 9:17 ` [Comm] MySql Michael Shigorin
2003-12-17 9:30 ` Maxim.Savrilov
2003-12-17 12:44 ` Michael Shigorin
2003-12-17 20:05 ` Alexandr
2003-12-17 20:38 ` Alexandr
2003-12-18 13:34 ` Michael Shigorin
2003-12-18 3:56 ` Maxim.Savrilov
2003-12-18 13:33 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='010b01c3c46f$054f8fa0$0c42a8c0@alex' \
--to=mirus@newmail.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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