There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
problem installing mysql help if you can please


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 08:25 AM #1
Exclamation problem installing mysql help if you can please
i set up a home dedicated server, i followed a how to forge fedora 7 guide and it worked well on my other server, ive installed it on my second server and everything is working well other than mysql i cannot get it to install and it keeps telling me that files are missing,

i use these commands to run the instilation :-

yum install mysql mysql-devel mysql-server

then i get this:-

Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 3.8 MB 00:06
updates 100% |=========================| 1.9 kB 00:00
Nothing to do

then i use this command as instructed:-

chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

and i get this error:-

chkconfig --levels 235 mysqld on
error reading information on service mysqld: No such file or directory
/etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory

so now im stuck on what to do next because if it wont let me install it what do i do ? reinstall the Os or is there a way to fix this problem ?
Any help will be much apretiated

Regards rickie,
this213's Avatar
Computer Specs
Junior Member with 5 posts.
 
Join Date: Jul 2007
Experience: Einstein
13-Jul-2007, 08:38 AM #2
yum install mysql-server

oops sorry, you have that too, here:
Code:
[this213@sem ~]$ rpm -qa | grep mysql
mysql-libs-5.0.37-2.fc7
mysql-server-5.0.37-2.fc7
mysql-libs-5.0.37-2.fc7
mysql-5.0.37-2.fc7
mysqlcc-0.9.8-fc5.1
php-mysql-5.2.2-3
also:
Code:
# /sbin/chkconfig mysqld --level 2345 on
# /etc/init.d/mysqld restart
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 08:40 AM #3
ok ill give that a try now thank you
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 08:45 AM #4
that also failed first command no problem second and third i got :-

# /sbin/chkconfig mysqld --level 2345 on
error reading information on service mysqld: No such file or directory
/etc/init.d/mysqld restart
-bash: /etc/init.d/mysqld: No such file or directory
this213's Avatar
Computer Specs
Junior Member with 5 posts.
 
Join Date: Jul 2007
Experience: Einstein
13-Jul-2007, 08:56 AM #5
What did the first command I posted output?
Code:
rpm -qa | grep mysql
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 08:59 AM #6
it posted thew same as it did on yours i put it in and it showed :-


mysql-libs-5.0.37-2.fc7
mysql-server-5.0.37-2.fc7
mysql-libs-5.0.37-2.fc7
mysql-5.0.37-2.fc7
mysqlcc-0.9.8-fc5.1
php-mysql-5.2.2-3


and stopped and did nothing went back to me being able to put in commands
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 03:47 PM #7
I have fixed my original problem but now i have got this error:-



Welcome to phpMyAdmin 2.10.2

Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.

Error
MySQL said:

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

if anyone at all can help me out it would be very appretiated
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
13-Jul-2007, 03:58 PM #8
ok i fixed that error but now im getting this error:-


Welcome to phpMyAdmin 2.10.2

Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.

Error
MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)


phpMyAdmin was unable to read your configuration file!
This might happen if PHP finds a parse error in it or PHP cannot find the file.
Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere.
If you receive a blank page, everything is fine.

./config.inc.php


does anyone have any ideas or tips cos this is really confusing me now
this213's Avatar
Computer Specs
Junior Member with 5 posts.
 
Join Date: Jul 2007
Experience: Einstein
13-Jul-2007, 11:32 PM #9
You have to open your the config.inc.php file found in the root directory of your phpMyAdmin installation and edit it to match your MySQL credentials
rick0607's Avatar
Computer Specs
Junior Member with 7 posts.
 
Join Date: Jul 2007
Experience: Beginner
14-Jul-2007, 06:06 AM #10
already done all that
this213's Avatar
Computer Specs
Junior Member with 5 posts.
 
Join Date: Jul 2007
Experience: Einstein
14-Jul-2007, 06:40 AM #11
Quote:
Originally Posted by rick0607
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
Apparently not with the correct values - are you sure you edited the correct file?
sam222's Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2007
24-Jul-2007, 06:51 PM #12
problem installing mysql
rick 067, i have the same problems you described. i followed the instruction on how to forge fedora 7 guide and i get these same errors:

chkconfig --levels 235 mysqld on
error reading information on service mysqld: No such file or directory
/etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory

How did you fix your problem?

i followed instructions given by this213 and obtained same result.

please, help anyone
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:24 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.