Hi, I am a novice with MySQL/PHP/phpMyAdmin. Having said that, I have all three set up and working on my local machine as follows:
WinXP Pro [SP1] on P.IV 1.8GHz using IIS 5.0
MySQL 3.23.49-nt
PHP 4.3.1
phpMyAdmin 2.4.0
I have used the three to produce a working website without any problems.
Noticing that MySQL 4.0.12 was available, I downloaded and installed it together with the MyODBC 3.51 driver. Since doing that, I find that I cannot connect to the MySQL database locally!
These are differences I have noticed:
1. When running WinMySQL Admin 1.4, on the 'Process' tab, the host is shown as 'localhost' with MySQL 3.23.49. When running the same on 4.0.12, the host is shown as '127.0.0.1ort number'.
Why has that changed?
2. When I try to connect to the database through phpMyAdmin, it tells me that access is denied to username@127.0.0.1 . I tried changing the host name in config.inc.php from 'localhost' to '127.0.0.1' but the problem still occurs.
How do I get over this?
3. The same as in [2.] above when using DreamWeaverMX; I cannot access my database locally.
Same as [2.]
I am obviously doing something wrong and it's probably something very basic.
Can someone help me solve this dilemma in layman's terms without too much 'techno-speak' . I will be eternally grateful for anyone's help.
WinXP Pro [SP1] on P.IV 1.8GHz using IIS 5.0
MySQL 3.23.49-nt
PHP 4.3.1
phpMyAdmin 2.4.0
I have used the three to produce a working website without any problems.
Noticing that MySQL 4.0.12 was available, I downloaded and installed it together with the MyODBC 3.51 driver. Since doing that, I find that I cannot connect to the MySQL database locally!
These are differences I have noticed:
1. When running WinMySQL Admin 1.4, on the 'Process' tab, the host is shown as 'localhost' with MySQL 3.23.49. When running the same on 4.0.12, the host is shown as '127.0.0.1ort number'.
Why has that changed?
2. When I try to connect to the database through phpMyAdmin, it tells me that access is denied to username@127.0.0.1 . I tried changing the host name in config.inc.php from 'localhost' to '127.0.0.1' but the problem still occurs.
How do I get over this?
3. The same as in [2.] above when using DreamWeaverMX; I cannot access my database locally.
Same as [2.]
I am obviously doing something wrong and it's probably something very basic.
Can someone help me solve this dilemma in layman's terms without too much 'techno-speak' . I will be eternally grateful for anyone's help.