Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi I am a newbie installing MySQL. Im trying to teach myself how to learn more about Linux. Im trying to follow a guide from a Sams teach yourself book. Oddly enough its giving me some steps that are not working.
I basically put the source distribution from a CD to the /usr/local/ directory and extracted the MySQL archive from cdrom.
made a link to mysql directory
then went into the mysql directory where all the files are located.
The book says this:
#useradd-g mysql mysql
- This worked fine But then had problems with below
"Issue the following series of commands to finish the installation and start your MySQL server: "
#chown -R root .
#chown -R mysql mysql_data
#chgrp -R mysql .
#bin/mysqld_safe --user=mysql &
So when i type in the first command i get
-bash: scripts/mysql_install_db: No such file or directory
I checked the directory scripts and its in there. Tried different variations too and same error. Wondering what I can do of if anyone is familiar with this? What am I doing wrong? Thanks!
By the way which linux and version have you installed?
In most of the linux like ubuntu,redhat while doing setup you will get an option to make this installation of linux as a LAMP server (i.e. Linux Apache Mysql PHP). So i think you should better try these ones. I think this should help you as in LAMP server you dont hae to configure each component individually as they all come in a package.