Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-15-2003, 08:53 PM
|
#1
|
LQ Newbie
Registered: Jan 2003
Location: dundee ,uk
Posts: 13
Rep:
|
MySQL Help needed
could anyone out there help me to set up MySQL on my Server machine. Red Hat Linux Version 8.
I have been tryin various basic ways but no luck
please i really need help.
|
|
|
01-16-2003, 02:51 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Perhaps if you explain your problem in a bit more detail you might get a few responses
You say "set up" MySQL, does that mean it's installed? What have you done already, and what are you trying to do? Help us out here...
|
|
|
01-16-2003, 11:46 AM
|
#3
|
LQ Newbie
Registered: Jan 2003
Location: dundee ,uk
Posts: 13
Original Poster
Rep:
|
all i have done is installed Red hat 8, and during install i sellected MySQL. that is all i done, i would like to setup MySQL with the server!
|
|
|
01-16-2003, 02:05 PM
|
#4
|
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
|
I use webmin to set up my mysql data base and add users, set password, etc.
You still arnt giving us much to work with. What are you planning on doing with this database?
|
|
|
01-16-2003, 03:39 PM
|
#5
|
LQ Newbie
Registered: Jan 2003
Location: dundee ,uk
Posts: 13
Original Poster
Rep:
|
all i have done is installed Red hat 8, and during install i sellected MySQL. that is all i done, i would like to setup MySQL with the server!
|
|
|
01-16-2003, 03:51 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
To do what?!!??! How do you want to access the data? You are being very obtuse.
If you want to start using mysql simply type "mysql -uroot" from the command line and you can start creating databases and adding users or whatever it is you want to do.
If you don't know how to do ANY of these things I suggest you read the tutorial which is included in the docs at www.mysql.com which will get you started.
|
|
|
01-16-2003, 03:55 PM
|
#7
|
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
|
Setup Mysql with server for what type of purpose? Apache/PHP? For something like a forum? What? You need to be more specific.
Do a ps -ef is Mysql running?
If not type ntsysv and go down to mysql and hit space to put an astric there. This will cause Mysqld to start when your system boots up. Then you can use mysql with any normal user to use a default database called "test" or you can create different databases. I think you need to read the mysql docs: http://www.mysql.com/doc/en/index.html
|
|
|
01-16-2003, 07:00 PM
|
#8
|
LQ Newbie
Registered: Jan 2003
Location: dundee ,uk
Posts: 13
Original Poster
Rep:
|
thanks for the help
i am tryin to set up Red hat and Apache as a server to a project i am doing at university.
|
|
|
01-16-2003, 08:03 PM
|
#9
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
This is the fourth time you have told us exactly the same thing, and I am really getting weary of it.
Guess what, you already have MySQL setup in such that it is installed on your computer. You need a scripting language to query your database and arrange the data in a useful manner on a webpage, be it php, perl, python, or any other.
We have already directed you to the mysql docs for how to populate your database. I don't much feel like explaining the basics of how a webserver, database and scripting language interact with each other. I am sorry about the rude tone of this post but really, you say your in university, then you should possess some research skills right?
Do some homework, and when you have a SPECIFIC problem feel free to post it here.
|
|
|
01-28-2003, 08:25 PM
|
#10
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Rep:
|
hey well if yall wouldnt mind helping me setup a forums on my server with mysql. i have Redhat8 and have it installed meaning that all i have done is install the RPM. i would like to install the root dir of mysql in one of paritions of my second hard drive. /hdb1/hdb1/web/myforums. web= the dir of apaches root web folder right now.
|
|
|
All times are GMT -5. The time now is 06:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|