On Jan 21, 2010, at 9:01 PM, Richard Zulu wrote:
Hallo,
I am installing a mysql binary.
I have created user mysql and group mysql, changed my PATH variable to
point to my usr/local/mysql path.
However, when i run the script to install databases it generates
errors, like this:
<shell> /usr/local/mysql/scripts/mysql_install_db --user=mysql --force
/usr/local/mysql/scripts/mysql_install_db: line 244:
./bin/my_print_defaults: No such file or directory
As you can see it expects you to already be in the directory /usr/
local assuming that is where the mysql binaries are installed ...
because the path it is using here is relative to the current
directory. So
cd /usr/local
/usr/local/mysql/scripts/mysql_install_db --user=mysql --force
Installing MySQL system tables...
/usr/local/mysql/scripts/mysql_install_db: line 392: ./bin/mysqld: No
such file or directory
Installation of system tables failed! Examine the logs in
./data for more information.
I have examined the bin folder in mysql folder that is in
usr/local/bin and the files it assumes are missing are available in
the folder bin.
The files belong to user mysql and group mysql. What could be causing
such an error
--
Check out my Blog:
http://i-sakaza.blogspot.com
Have you tried Google trader?
http://www.google.co.ug/africa/trader
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
The above comments and data are owned by whoever posted them
(including attachments if any). The List's Host is not responsible
for them in any way.
---------------------------------------
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
The above comments and data are owned by whoever posted them (including
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------