LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2003, 02:44 PM   #1
linuxquestionsu
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
MySQL on RedHat 9 GUI, can't access database


I finally got MySQL and PHP Installed using the RPM's from my RedHat installation CD-ROM's

After I installed those, I ran Up2Date to get the latest patches

I got PHP working through Apache, by finding the services GUI and restarting the httpd program

Then I went to install MyPHPAdmin so I could administer MySQL


But I can't access the localhost MySQL server as root, and I don't know if the RPM gave it a password.

So I tried to start mysqld without the grant tables so I could reset the password, but I can't find the mysqld executable.

I don't know where the RPM's installed it.

I did a search for files using the GUI
mysqld starting in /

here are the results
/var/lock/subsys 0 bytes
/var/run folder
/etc/rc.d/init.d
/etc/logrotate.d
/usr/libexec 2.6 MB binary program

the last entry sounds like the best bet...


so I opened a command prompt
[root@redhat root]# cd /usr/libexec
[root@redhat libexec]# mysqld
bash: mysqld: command not found
[root@redhat libexec]#

so it acts like it can't find it ???

Then i type mysqladmin
it returns the help screen

so I try mysqladmin --skip-grant-tables

mysqladmin: unrecognized option `--skip-grant-tables'
mysqladmin Ver 8.23 Distrib 3.23.58, for redhat-linux-gnu on i386
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB

what would be the option to use for the RedHat RPM installed version?




#
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommendation for win xp software to access and transfer files to Redhat 4 pref gui jalluttar Linux - Software 1 11-29-2005 10:28 PM
Restoring MYSQL database without SSH shell access hct224 Linux - Newbie 5 01-08-2004 06:14 AM
Redhat 9.0 As webserver (with mysql, PHP and FTP access) Gear_freak2000 Linux - Software 15 06-02-2003 01:32 PM
Importing FreeBSD mysql database to RedHat Linux 7.3 RKris Linux - Software 6 05-06-2003 04:07 AM
MySQL Cannot Access Database ChineseElite Linux - General 13 11-27-2002 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration