Title: petrushka's Replies | WordPress.org

---

# petrushka

  [  ](https://wordpress.org/support/users/petrushka/)

 *   [Profile](https://wordpress.org/support/users/petrushka/)
 *   [Topics Started](https://wordpress.org/support/users/petrushka/topics/)
 *   [Replies Created](https://wordpress.org/support/users/petrushka/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/petrushka/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/petrushka/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/petrushka/engagements/)
 *   [Favorites](https://wordpress.org/support/users/petrushka/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [PHP OK, but “Error establishing a data..” on Mac](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/)
 *  Thread Starter [petrushka](https://wordpress.org/support/users/petrushka/)
 * (@petrushka)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/#post-116805)
 * I forgot to add that I did go through h**p://localhost/wordpress/wp-admin/install.
   php after my reinstallation to automatically set up my tables, and then to wordpress/
   index.php.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [PHP OK, but “Error establishing a data..” on Mac](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/)
 *  Thread Starter [petrushka](https://wordpress.org/support/users/petrushka/)
 * (@petrushka)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/#post-116804)
 * I found a solution for “Error establishing a database connection!”, although 
   it was not related to a problem with permissions or my wp-config.php file, as
   macmanx suggested.
    I had been using MySQL 4.1.7 (as I wanted to be up-to-date),
   and decided to erase it and use the CompleteMySQL 4.0.21 installer which I had
   seen mentioned in the MacZealots WordPress installation comments. On doing so.
   I immediately had access to phpMyAdmin at localhost (using ‘root’ and my MySQL
   password), and after adding a new database ‘wordpress’, I could access [http://localhost/wordpress/index.php](http://localhost/wordpress/index.php)
   with no problems. After reading more closely the upgrade instructions for MySQL
   4.1.7, I see that there seems to be a way around the password bug/problem, but
   as I have it up and running, I might leave that until later. Thanks for all of
   your input and taking the time to respond.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [PHP OK, but “Error establishing a data..” on Mac](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/)
 *  Thread Starter [petrushka](https://wordpress.org/support/users/petrushka/)
 * (@petrushka)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/php-ok-but-error-establishing-a-data-on-mac/#post-116412)
 * Thanks for the feedback.
    I actually used the MacZealots instructions to set 
   the whole thing up and as MySQL did everything that it was supposed to (according
   to MacZealot), I assumed everything was OK. As far as creating the basic tables,
   I thought that was done automatically when accessing install.php. I read somewhere
   that one has to deliberately link the owner with the DB, but more than this, 
   I don’t know. I’ll read around some more and then maybe take up ryanduff’s kind
   invitation. Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)