| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-08-2011, 12:39 PM
|
#1
|
|
Member
Registered: Apr 2011
Posts: 81
Rep:
|
mysql server in rhel 6
I have install mysql on my rhel 6,but dont know how to use it.
I have made a html form in apache server and want to store the output of the form to mysql database ,such as its username,password etc to a well defined database ,please tell me how to do it????
|
|
|
|
09-08-2011, 01:41 PM
|
#2
|
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Arch
Posts: 2,044
|
Hi, you'll need either
- the built-in manager, you'll have to shoot SQL at the database
- get the workbench
- install phpMyAdmin, and configure it.
Next, you're in for a ride.
By the way...
Quote:
|
I have made a html form in apache server and want to store the output of the form to mysql database ,such as its username,password etc to a well defined database ,please tell me how to do it???
|
That's a lot o' questions...
Lemme break it down for you:
Quote:
|
I have made a html form in apache server
|
Dont use HTML, use PHP...
Quote:
|
such as its username,password etc
|
Anything when issued in a <form></form> tag can be shot to the database
You'll need to learn databse design and data normalisation...
Quote:
|
please tell me how to do it???
|
Now, if we told you exactly how to do it, where would all the fun be in that??? Not that I want you to RTFM it, either...but...this is your project, innit?
Elaborate about your project, maybe some magic will pop out of the hat
Luck
Thor
Last edited by Thor_2.0; 09-08-2011 at 01:42 PM.
|
|
|
|
09-09-2011, 07:08 AM
|
#3
|
|
Member
Registered: Apr 2011
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by Thor_2.0
Hi, you'll need either
- the built-in manager, you'll have to shoot SQL at the database
- get the workbench
- install phpMyAdmin, and configure it.
Next, you're in for a ride.
By the way...
That's a lot o' questions...
Lemme break it down for you:
Dont use HTML, use PHP...
Anything when issued in a <form></form> tag can be shot to the database
You'll need to learn databse design and data normalisation...
Now, if we told you exactly how to do it, where would all the fun be in that??? Not that I want you to RTFM it, either...but...this is your project, innit?
Elaborate about your project, maybe some magic will pop out of the hat
Luck
Thor
|
actually i have built mysql server and apache server in windows through xammp...bt i want to do it in linux, in windows i have graphical mysql server so i can made it easily....bt in linux ie rhel 6 i have install mysql in it and when type
Code:
#mysql
it shows.
mysql>
but dont know what to do now because this time i dont have graphical interface ,i just got the terminal of mysql
Last edited by magicalshashank31; 09-09-2011 at 07:12 AM.
|
|
|
|
09-09-2011, 01:08 PM
|
#4
|
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Arch
Posts: 2,044
|
Okay...so, enter some SQL here, see what comes back...
Just to get started:
Quote:
|
create database if not exists somedata
|
then, let's see if mySQL got the hint:
you should get a list of databases on the server...
Then...well, you'll need to learn SQL...
Let's see where we get from here, ok?
Thor
|
|
|
|
09-09-2011, 01:34 PM
|
#5
|
|
Member
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 93
Rep:
|
Thor has given you great suggestions. He mentioned phpmyadmin but I wanted to underscore that. If you're accustomed to a graphical interface, then install phpmyadmin and get familiar with it.
It's always good to know how to do things from the command line, too, so in addition to Thor's commands I'd recommend taking a look at the MySQL tutorial at http://dev.mysql.com/doc/refman/5.0/en/tutorial.html and also a REALLY GOOD book called "PHP and MySQL Web Development" by Welling and Thomson. My copy is dog-eared. I refer to it several times per week. It is *excellent*.
|
|
|
|
09-10-2011, 03:04 AM
|
#6
|
|
Member
Registered: Apr 2011
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by lrtward
Thor has given you great suggestions. He mentioned phpmyadmin but I wanted to underscore that. If you're accustomed to a graphical interface, then install phpmyadmin and get familiar with it.
It's always good to know how to do things from the command line, too, so in addition to Thor's commands I'd recommend taking a look at the MySQL tutorial at http://dev.mysql.com/doc/refman/5.0/en/tutorial.html and also a REALLY GOOD book called "PHP and MySQL Web Development" by Welling and Thomson. My copy is dog-eared. I refer to it several times per week. It is *excellent*.
|
thanks its being great site to learn mysql,now i am able to manage databases 
|
|
|
|
09-10-2011, 06:51 AM
|
#7
|
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Arch
Posts: 2,044
|
Quote:
|
thanks its being great site to learn mysql,now i am able to manage databases
|
You're welcome! And, if you encounter anything else, get right back for more help-n-answers, we're here to help!
Enjoy!
Thor
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:16 PM.
|
|
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
|
|