evercas.blogg.se

Mysql mac terminal commands secure installation
Mysql mac terminal commands secure installation












mysql mac terminal commands secure installation

Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Commands end with or \g.Ĭopyright (c) 2000, 2017, Oracle and/or its affiliates. Enter password and then something like this appear: Welcome to the MySQL monitor.

mysql mac terminal commands secure installation

It will ask you write the password you set for mysql before.

  • Reload privilege tables now - Choose yesĪfter finishing this up, test MySQL: mysql -uroot -p.
  • Now configure MySQL : mysql_secure_installation Now start MySQL: brew services start mysql Install brew services now: brew tap homebrew/services Now Restart apache: sudo apachectl restart 3. Now uncomment the following line (Remove #): LoadModule php5_module libexec/apache2/libphp5.so

    mysql mac terminal commands secure installation

    Now edit the nf with vi or any other text editor: vi nf This will help you to cross check later what you changed or in case you want to restore the configuration to default. Let's make a backup of the default Apache configuration. Open your browser and access If it says It Works, then you are set otherwise see if your apachectl has started or not. Open Terminal and run the following Code: sudo apachectl start














    Mysql mac terminal commands secure installation