Re: How does dbconfig-common detect if mysql is running?
Hanxue Lee dijo [Fri, Oct 15, 2010 at 12:19:38AM -0700]:
Please direct your answers to the user support mailing list -
firstname.lastname@example.org (I have redirected this reply over
there). The list you wrote to (debian-devel) is devoted to development
_of_ Debian, not _under_ Debian.
I am quoting your mail in full in case some other person wants to
answer to you - People, please keep Hanxue Lee <email@example.com>
copied, as he is most likely not subscribed to this mailing list.
> I am running a Bitnami Amazon Web Services Ubuntu Lucid instance, that has mysql
> pre-configure and running from /opt/bitnami/mysql . I intend to run stock Debian
> LAMP packages (example: phpmyadmin). Whilst running "dpkg-reconfigure
> phymyadmin", dbconfig-common keep coming up with this error:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> │ '/tmp/mysql.sock' (2)
> This is after I have edited /opt/bitnami/mysql/my.cnf to make all references
> of /opt/bitnami/mysql/tmp/mysql.sock to /tmp/mysql.sock
> I am quite surprised that initially dbconfig-common pick
> up /opt/bitnami/mysql/my.cnf instead of /etc/mysql/my.cnf .
> Any advise how I can get dbconfig-common to look up /etc/mysql/my.cnf , or the
> stock Debian mysql-server installation?