Friday, 25 December 2009

how to use mySQL of MAMP

Navigating to http://localhost:8888/MAMP/ displays the Start page of MAMP with the mySQL settings.
In order to setup symfony to connect to mySQL database we need to run from the command this
symfony configure:database 'mysql:host=localhost;port=8889;dbname=test' root root

test is database name as created for my symfony project using the phpMyAdmin on the MAMP page. By default the port for MySQL is 8889, you can verify it on the MAMP start page. Same with the username and the password, which in this example is root both for username and password.

1 comment:

  1. bet365.com Login - TopBet
    How to get started. bet365.com Login. bet365.com. 10cric Your one stop rb88 shop for everything in eSports. 더킹카지노 You can now find all of your favorite games,

    ReplyDelete