Diff for /wikisrc/pkgsrc/how_to_install_a_mysql_server.mdwn between versions 1.5 and 1.7

version 1.5, 2021/09/04 21:07:52 version 1.7, 2021/09/12 20:42:59
Line 1 Line 1
 Installing a MySQL server is easy.   Installing a MySQL server is easy. The fastest way is to install the binary package. If you wish to use Apache and PHP, please read the article [[How to install a LAMP Server]]. 
   
 The fastest way is to install the binary package. This is only recommended if you wish to use your server as a standalone MySQL server, without any other server software like a web server. If you wish to use Apache and PHP, please read the article: [[How to install a LAMP Server]].   
   
   
 It has the mysql-client as a dependency, which has to be installed first.   
       
     # pkg_add -v mysql-client  
     # pkg_add -v mysql-server      # pkg_add -v mysql-server
   
   
Line 40  If MySQL is not starting up, you may nee Line 34  If MySQL is not starting up, you may nee
     # mkdir /var/mysql      # mkdir /var/mysql
     # mysql_install_db      # mysql_install_db
     # chown -R mysql:mysql /var/mysql      # chown -R mysql:mysql /var/mysql
       
   The default MySQL server database root password is auto-generated and marked expired upon creation. For security reasons, you should set your root password as soon as possible.
   
 If you need information about the MySQL server package, use the following:   If you need information about the MySQL server package, use the following: 
           

Removed from v.1.5  
changed lines
  Added in v.1.7


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb