Fedora Linux Support Community & Resources Center
  #1  
Old 3rd December 2009, 03:27 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
mySQL installation??

hey.. how do i install mySQL on my fedora 12?? i am completely blank.. pls help me...? also .. how to start its services..? or perhaps a simple guide for installing mySQL???

Last edited by timesking; 3rd December 2009 at 03:33 PM.
Reply With Quote
  #2  
Old 3rd December 2009, 03:37 PM
CD-RW's Avatar
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 555
linuxfedorafirefox
On F10 it's

[root] # yum install mysql mysql-server

should do it on F12 as well.

Should start straight away after installing.

If not:

[root]# /etc/init.d/mysqld start
Starting MySQL: [ OK ]

Last edited by CD-RW; 3rd December 2009 at 03:39 PM.
Reply With Quote
  #3  
Old 3rd December 2009, 03:46 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
Quote:
Originally Posted by CD-RW View Post
On F10 it's

[root] # yum install mysql mysql-server

should do it on F12 as well.

Should start straight away after installing.

If not:

[root]# /etc/init.d/mysqld start
Starting MySQL: [ OK ]
i didnt get any result.. should i download it? or how?

---------- Post added at 09:14 PM CST ---------- Previous post was at 09:13 PM CST ----------

[root@localhost ~]# /etc/init.d/mysqld start
bash: /etc/init.d/mysqld: No such file or directory
[root@localhost ~]#

---------- Post added at 09:16 PM CST ---------- Previous post was at 09:14 PM CST ----------

[root@localhost ~]# /etc/init.d/mysqld start
bash: /etc/init.d/mysqld: No such file or directory
[root@localhost ~]#

i got no result??
Reply With Quote
  #4  
Old 3rd December 2009, 04:00 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
linuxfedorafirefox
You should get something like this:
Code:
[giulix@localhost ~]$ su -c "yum install mysql mysql-server"
Password: 
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i686 0:5.1.39-4.fc12 set to be updated
---> Package mysql-server.i686 0:5.1.39-4.fc12 set to be updated
--> Processing Dependency: perl-DBI for package: mysql-server-5.1.39-4.fc12.i686
--> Processing Dependency: perl(DBI) for package: mysql-server-5.1.39-4.fc12.i686
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.39-4.fc12.i686
--> Running transaction check
---> Package perl-DBD-MySQL.i686 0:4.013-2.fc12 set to be updated
---> Package perl-DBI.i686 0:1.609-3.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch         Version               Repository      Size
================================================================================
Installing:
 mysql                  i686         5.1.39-4.fc12         fedora         3.7 M
 mysql-server           i686         5.1.39-4.fc12         fedora         9.1 M
Installing for dependencies:
 perl-DBD-MySQL         i686         4.013-2.fc12          fedora         153 k
 perl-DBI               i686         1.609-3.fc12          fedora         688 k

Transaction Summary
================================================================================
Install       4 Package(s)
Upgrade       0 Package(s)

Total download size: 14 M
Is this ok [y/N]:
If not, something is likely broken in your repos, or you're not connected to the Internet, or you're behind a proxy and yum does not know about it...
Reply With Quote
  #5  
Old 3rd December 2009, 04:04 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
yes.. thank you .. now the DL is starting.. thank you once again... how do i start its services.. is it
# mysql -u root?

Last edited by timesking; 3rd December 2009 at 04:06 PM.
Reply With Quote
  #6  
Old 3rd December 2009, 04:15 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
linuxfedorafirefox
According to CD-RW should be something along these lines:
Code:
su -c "/etc/init.d/mysqld start"
or
Code:
su -c "service mysqld start"
or, better still, click on System->Administration->Services, look for the mysqld service and start it from there. You'll be asked to supply root's password. You can also configure the service to start at boot by clicking the "Enable" icon on the toolbar
Reply With Quote
  #7  
Old 3rd December 2009, 04:26 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
there is no service by mysqld in services .. anyways.. in terminal its being DLing required package for mysql.. m complete noob on any linux platform.. i have to work on some lab pgms so asked for mysql.. thank you for support .. fedora 6 have preinstalled all the packages in it.. but now newer versions don have all the packages n tend to DL everything for necessary package..

Last edited by timesking; 3rd December 2009 at 04:29 PM.
Reply With Quote
  #8  
Old 3rd December 2009, 04:44 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
linuxfedorafirefox
Wait until the packages have finished installing and try again...
Reply With Quote
  #9  
Old 3rd December 2009, 05:12 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
heyhelp me pls on starting its services.. i have to get the prompt as Mysql> when i type the command as mysql -u root.. it shows -
bash: mysqld: command not found

m suppose to create tables in it..

---------- Post added at 10:42 PM CST ---------- Previous post was at 10:34 PM CST ----------

ok guilix.. i have started its services.. thank you for all the support man.. i really really appreciate it.. thank you once again
Reply With Quote
Reply

Tags
installation, mysql

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql Installation whodareswins Installation and Live Media 2 4th December 2009 10:33 PM
mysql installation nico80 Using Fedora 2 23rd January 2009 07:20 AM
Need help: PHP and MySQL installation liza Using Fedora 6 6th May 2008 06:02 AM
php-mysql installation productive Using Fedora 3 28th April 2005 09:25 PM
mysql installation kevmif Using Fedora 1 1st January 2005 06:27 AM


Current GMT-time: 16:27 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat