Chris Gough wrote:
> mysql was running fine for about a month, but then i started using it. I
> added some users, created some databases, and even populated some
> tables. Then (using phpMyAdmin) i tried to "reload mysql". mysqld
> dissapeared, and the situation i found myself in after that is confusing
> gives me the error "cant change to /usr/local/mysql/var (Errcode: 2)
> not surprising, there is no such directory
> gave me "cant find /usr/local/mysql/libexec/mysqld"
> and again, neither could i
> then i discovered:
> it seemed to work, and i could connect to the server with:
> but not /usr/local/mysql/bin/mysql (or safe_mysql).
> Can anyone tell me what i have done, where i am going wrong.
Seems you have changed your setting of "--basdir".
Have you changed or moved the /etc/my.cnf file?
What does this command give you?
root # mysqld -? |grep :