Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't initialize mySQL with "./scripts/mysql_install_db"

Status
Not open for further replies.

dancamp01

Technical User
Mar 7, 2002
4
US
I'm running Redhat Linux 7.1 and I've just installed mysql-3.23.49.tar.gz. I've gotten through the entire install process until the last part when I had to run the "./scripts/mysql_install_db" to initialize the database. when i try to run that command, i get the following:
"./scripts/mysql_install_db: my_print_defaults: command not found
Didn't find /usr/local/mysql/libexec/mysqld
mkdir: cannot create directory `/usr/local/mysql/libexec': No such file or directory"
I do know that the path to mysqld is in /usr/local/src/mysql-3.23.49/sql/mysqld if that helps at all.
Any help would be greatly apreciated.
Thank you
DanCamp01
 
Oh, and the next time I try it, I get the same as before with this extra line included:
"You should do a 'make install' before executing this script."
I've already done all the make and make install stuff and even tried it again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top