Re: difficulty starting mysql server
On 01 Dec 2004 17:25:31 -0500
rb <rb@panix.com> wrote:
> I installed mysql-server 4.0.17 a while ago (Unstable).
This part makes me assume you installed it via apt-get, using the deb
from Unstable's mirrors. Is that right?
> When I try to start the server, I get the following:
>
> $ mysqld_safe --user=mysql &
> [1] 687
> $ Starting mysqld daemon with databases from /var/lib/mysql
> /usr/bin/mysqld_safe: line 300: /var/log/mysql/mysql.err: Permission
> denied/usr/bin/mysqld_safe: line 1: /var/log/mysql/mysql.err:
> Permission denied tee: /var/log/mysql/mysql.err: Permission denied
> 041201 17:05:41 mysqld ended
> tee: /var/log/mysql/mysql.err: Permission denied
>
>
> [1]+ Exit 1 mysqld_safe --user=mysql
>
> This is without having modified grant tables, set users or set
> passwords.
>
> Any help in getting the server working would be greatly appreciated.
If this is installed via a .deb from Unstable, why aren't you using the
init script to start it? As root, run "/etc/init.d/mysql start". You
might also try doing a "ps ax | grep mysql" first, as mysql is usually
started as part of the post-install script in .debs, in my experience.
HTH,
Jacob
Reply to: