LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL Installation (https://www.linuxquestions.org/questions/linux-software-2/mysql-installation-130028/)

voglerf 12-30-2003 06:30 AM

MySQL Installation
 
I am using SuSE 9.0. I tried to install mysql but I simply recognized that my linux knowledge is too bad. I had no problems with installing apache 2, although it is quite different to Windoze.
I even read in the manual and couldn't get on further!

mysql is installed in different directories after completing the YaST installation

whereis mysql result:

/usr/bin/mysql /usr/lib/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

what will I have to do next? I heard about creating an extra user, because mysql cannot be run as root. How to start ./scripts/mysql_install_db? There is no scripts directory!

Please help,

thanks a lot

Frank / Germany (that explains my bad english :-) )

Stavros 01-01-2004 12:33 PM

I am scratching my head with the exact same problem!! Can anyone help us???

Breezwell 01-01-2004 01:55 PM

If you are simply interested in getting MySQL, PHP, Apache and other tools running together without dealing with installing each piece of software individually, check out the following site:

http://www.apachefriends.org/xampp-en.html

I used the Windows version to get everything running simply for educational purposes.
Have not tried the Linux version but it may help you at least get things running to begin messing around with the technology.

Hangdog42 01-01-2004 07:33 PM

If you are using mysql everyday, you do want to run it as some user other than root. However, for setup purposes, you can run as root.

You might just want to try skipping the script part and go ahead and create a user and a test database. If I remember correctly, the scripts are there if you compile from source. If you install via a package system like RPM, I think that the scripts are run as part of the install. I'm not sure what YaST does, but if it is similar to RPM, they dirty work may have already been done for you.


All times are GMT -5. The time now is 05:22 AM.