Mysql problems
I downloaded the Mysql source from Mysql's site and then configured it with the following configure line:
And then, as recommended by the documentation, I used gmake to compile it
gmake
gmake install
Next, I changed to where mysql had been installed; and ran this:
bin/mysql_install_db --user=mysql
and it gives me lots of errors about files not being found, here is a few of them:
When I try to start the server it wont start and gives me this:
Any ideas?
./configure --prefix=/usr/local/mysql --enable-assembler
And then, as recommended by the documentation, I used gmake to compile it
gmake
gmake install
Next, I changed to where mysql had been installed; and ran this:
bin/mysql_install_db --user=mysql
and it gives me lots of errors about files not being found, here is a few of them:
PuTTY wrote:050304 21:33:59 [ERROR] /usr/local/mysql/libexec/mysqld: Can't find file: './mys
ql/help_keyword.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/help_keyword.frm' (errno: 13)
050304 21:33:59 [ERROR] /usr/local/mysql/libexec/mysqld: Can't find file: './mys
ql/help_keyword.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/help_keyword.frm' (errno: 13)
050304 21:33:59 [ERROR] /usr/local/mysql/libexec/mysqld: Can't find file: './mys
ql/help_keyword.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/help_keyword.frm' (errno: 13)
050304 21:33:59 [ERROR] /usr/local/mysql/libexec/mysqld: Can't find file: './mys
When I try to start the server it wont start and gives me this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any ideas?
Comments
when i run:
it gives me the error:
how do I change where it looks for those files?
I was meddling around earlier and got this
i looked in the source folder and coudlnt find anything that seemed to be related to that...