problem with mysql 5 install and configuration

Ryan Schmidt ryandesign at macports.org
Sun Jan 8 17:21:16 PST 2012


On Jan 8, 2012, at 15:22, Érico wrote:

> 1. $ sudo port deactivate mysql5-server mysql5
> 2. $ sudo port activate mysql5 mysql5-server
> 3. $ sudo port load mysql5-server
> 4. $ mysql5 -uroot -p
> 
> so with my id ... I do need to execute step 3 , instead of using the command : 
> /opt/local/bin/mysqld_safe5
> .... ?

"sudo port load mysql5-server" loads the mysqld server immediately, and every time you start up your computer. You don't need to run any further commands, unless you no longer want mysqld running, in which case you can run "sudo port unload mysql5-server" which stops mysqld immediately and no longer makes it start when you start up your computer.




More information about the macports-users mailing list