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 3 - Adding a User for mySQL

In order for mysql to run properly, the mysql daemon (mysqld) has to have it's own user and group settings.

Here are the commands that you need to execute as root:

"groupadd mysql"
"useradd -g mysql mysql"

The first command "groupadd mysql" creates a new group on the machine called "mysql". The second command "useradd -g mysql mysql" creates a user "mysql" in the group "mysql". The -g mysql paramater tells the useradd function in which group to add the new user.

<<< Unpacking Configuring mySQL for your machine >>>

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.