Home > Archive > PHP SQL > August 2004 > connecting to mysql via localhost
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
connecting to mysql via localhost
|
|
| Anna K. 2004-08-19, 4:03 pm |
| Hi there
I use mysql on local computer, but have installed PC Bus Ethernet Card. When
i RUN mysqladmin I have IP address different than 127.0.0.1. when I
configure for example PHP phpMyAdmin on user =root, host the same as in
MYsqladmin I can't connect to Mysql server - acces not allowed for host
169.254.153.154 (the same what is in Mysql admin). I noticed that database
Mysql is not listed on my IP. What's wrong, help, please!
Thanks in advance
Anna Maria K.
| |
|
| "Anna K." wrote:
> Hi there
>
> I use mysql on local computer, but have installed PC Bus Ethernet
> Card. When
> i RUN mysqladmin I have IP address different than 127.0.0.1. when
I
> configure for example PHP phpMyAdmin on user =root, host the same
as
> in
> MYsqladmin I can’t connect to Mysql server - acces not allowed
> for host
> 169.254.153.154 (the same what is in Mysql admin). I noticed that
> database
> Mysql is not listed on my IP. What’s wrong, help, please!
>
> Thanks in advance
>
> Anna Maria K.
Open a dos session on your local computer, and then run ipconfig. Try
the IP you see there.
--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-SQL-con...pict141405.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=473073
| |
|
| "Anna K." wrote:
> Hi there
>
> I use mysql on local computer, but have installed PC Bus Ethernet
> Card. When
> i RUN mysqladmin I have IP address different than 127.0.0.1. when
I
> configure for example PHP phpMyAdmin on user =root, host the same
as
> in
> MYsqladmin I can’t connect to Mysql server - acces not allowed
> for host
> 169.254.153.154 (the same what is in Mysql admin). I noticed that
> database
> Mysql is not listed on my IP. What’s wrong, help, please!
>
> Thanks in advance
>
> Anna Maria K.
Open a dos session on your local computer, and then run ipconfig. Try
the IP you see there.
--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-SQL-con...pict141405.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=473073
| |
| Norman Peelman 2004-08-24, 9:06 am |
| "Anna K." <snowwhite@go2.pl> wrote in message
news:cg2n44$4gm$1@nemesis.news.tpi.pl...
> Hi there
>
> I use mysql on local computer, but have installed PC Bus Ethernet Card.
When
> i RUN mysqladmin I have IP address different than 127.0.0.1. when I
> configure for example PHP phpMyAdmin on user =root, host the same as in
> MYsqladmin I can't connect to Mysql server - acces not allowed for host
> 169.254.153.154 (the same what is in Mysql admin). I noticed that database
> Mysql is not listed on my IP. What's wrong, help, please!
>
> Thanks in advance
>
> Anna Maria K.
>
>
>
I think you should be able to use 127.0.0.1 regardless of what your IP
address is as 127.0.0.1 is an internal loop that never gets processed to the
'outside'. Also using 'localhost' instead of an ip will work too.
Norm
--
Avatar hosting at www.easyavatar.com
|
|
|
|
|