Web lists-archives.com

how to force mysql to use the name of my machine instead of localhost




My  machine  has another name than localhost like lite.bela.umbb,
when I install mysql, it always takes the the localhost as the name of the machine. this yields in a problem for me, when I use for example wordpress and I want a remote connection.  because the localhost stored in DB is irrelevant from a remote machine.

The question is : how to force mysql to use the name of my machine instead of localhost  for mysql server

Thanks a lot
Regards