Installing mySQL under Linux

mySQL is a robust Relational Database Management System. Currently it runs under Linux, Windows, OS2, and several other operating systems. Aside from the fact that it is free (yes, you heard right), mySQL has become the database management system of choice for many small and large solutions (Yahoo has been known to use mySQL).
This tutorial teaches how to install mySQL under Linux.

Step 10: Lazy People Look Here

  1. Download mysql from http://www.mysql.com/downloads/ Get whatever stable release is available for your system.
  2. Open a shell window, and su to root.
  3. Go to the folder that has your mysql-3.xx.xx.*.tar.gz
  4. Execute the following commands:
    "groupadd mysql"
    "useradd -g mysql mysql"
    "tar -xvzf mysql-3.xx.xx.*.tar.gz" (whatever your file is named)
    "cd mysql-3.xx.xx" (whatever your folder is named)
    "./configure --prefix=/usr/local/mysql"
    "make"
    "make install"
    "scripts/mysql_install_db"
    "chown -R root /usr/local/mysql"
    "chown -R mysql /usr/local/mysql/var"
    "chgrp -R mysql /usr/local/mysql"
  5. That will install mySQL. For information on starting and stopping the mySQL daemon, look in steps 8 and step 9.

Thank you for taking the time to go through this tutorial. I hope that it helped you out. If you have any reasonable questions, or if you have found any mistakes, please email me at scott@ruttencutter.com

Thanks,

-Scott

<<< Adding mySQL to the System Startup  

Comments

How about Winn2000 users?

December 19, 2001 by Helle M

I really don't know much about MySQL, but would like to also read about how you do this using Win2000 ?

Helle:-)

RE: How about Winn2000 users?

March 18, 2002 by Plamen Jelezov

Well, actually you will have no problems with the MySQL itself, but there are few bugs in the W2K OS. It took me about 2 weeks to make it work. Now it's perfect. Works very well with the OS and the PWS. I hate heavy things and that'a why removed the IIS. If you decide to start working with it, just mail me back and I'll send you full dscription, how to do it!

pj - pj@buldata.com

RE: RE: How about Winn2000 users?

March 20, 2002 by Stefan Gomez

I am extremely new to php and mysql. I am used to plain old access databases. My web host only accepts mysql databases. After going through the endless pages of setting up mysql, I have yet to find information on how to create mysql databases. If I got pass this, I'm sure I'd be using php with a mysql database in no time. I've managed to create a database on my host, and I've downloaded something to edit it. But I'm still lost on how to create the database. And, it'd be much easier for me to just convert my access databases to mysql. How would I do this, and how would I transfer it to the server? the only thing I can see so far is that I would have to re enter everything into the mysql server? Can't it just be as easy as uploading my database, I wish it could be. If anyone would be willing to help, I'd be very grateful,

Thanks,

Stefan

RE: How about Winn2000 users?

April 17, 2002 by Cheryl Floyed

I only read this last night but it may help... I read that you can export to MySQL from Access. I also read that you can use a free utility called DataTools... Again, don't hold me to this because I've only read it but it is a starting place.

See all 7 Comments

You must me logged in to write a comment.