Carl E. Hartung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Robert A. Rawlinson wrote:
| Yes its running. I checked with "ps ax | grep mysql" However I tryed | that command. Still running but when I try to do anything I get the | can't connect message.
Bob,
Sorry for the delay, but I keep getting called away at this end (sigh!)
Let me get this straight:
1. You installed MySQL 2. You ran, as root, "mysql_install_db"
If you mean "su root " then yes
3. Then, as root, you created a root password for the server: ~ mysqladmin -u root password "my-password" (no quotes)
No when I tried to do this it came back with the no connect msg.
~ mysqladmin -u root -h linux password "my-password" (ditto)
- --> If you did the three steps, above, try this
4. Make sure the server is running from a fresh start:
(as root) rcmysql status -------------------------------------->running
When I did this it came back with unused.
rcmysql stop ---------------------------------------->done
when I did this it did come back with done.
rcmysql start --------------------------------------->done
when I did this it did come back with done.
- --> Now try this:
mysqladmin -u root -h linux -p extended-status
when I did this it said it failed and to check that it was running. I tried it again using localhost instead of linux and then I got the can't connect message.
- -> If it prompts you for your password, enter the one you created initially, in #3 above. If your password 'took', it should display an extended status report for the server.
Let me know the results, ok? I've gotta run, but I'll be back +/- 1 hour.
- - Carl
- -- ____________________________________________________________________ C. E. Hartung Business Development & Support Services http://www.cehartung.com/ carlh@cehartung.com Dover Foxcroft, Maine, USA Public Key #0x68396713 Reg. Linux User #350527 http://counter.li.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCEnzWusxgymg5ZxMRAjPsAJ95a77NN6HZo2ikCFWsss2qHsgatgCdE2iV RKdXpV2P7EDH34rY6sjdCs4= =yYHq -----END PGP SIGNATURE-----
Its ok take your time. My mind is turning to mush now so I guess I will return to it in the morning. Thanks so much for your help. Bob Rawlinson