Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-29-2004, 08:13 PM   #1
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Question MySQL password & Comp's host.


I'm wondering if it is safe to set MySQL root password the same as the box's root password? Or should I pick a different password for MySQL root password?

Another question is how can I change the host name? I'm currently using Slackware 9.1, and the host name is 'darkstar'. In the /etc/hosts stated this:

# By the way, Arnt Gulbrandsen <> says that
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)

# For loopbacking. localhost
# This next entry is technically wrong, but good enough to get TCP/IP apps
# to quit complaining that they can't verify the hostname on a loopback-only
# Linux box. darkstar

With that statement above, how can I change the host name?

Old 03-01-2004, 12:20 PM   #2
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Don't know if it's any help but think my thing, which calls itself 'debian', is: debian localhost

or possibly localhost debian.

Sounds a bit scary somehow - both root's the same.
Old 03-01-2004, 01:28 PM   #3
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,435

Rep: Reputation: 204Reputation: 204Reputation: 204
try 'hostname'

type man 'hostname'. can't say exactly as i'm on a sun box.
maybe set in /etc/hostname.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mysql host.frm xushi Slackware 6 05-19-2005 09:54 AM
MySQL - <host> could not be found Gunrunner Linux - Software 0 11-18-2004 01:49 PM
MySQL - Host not allowed TBomb Linux - Software 4 09-18-2004 06:22 AM
ssh without password on the same host svijayak Linux - Networking 7 03-15-2004 01:21 PM
How do I add a host user password to mysql server? cmisip Linux - Networking 3 12-16-2002 10:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 PM.

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