![electron install mysql on mac electron install mysql on mac](https://www.christianengvall.se/wp-content/uploads/2016/10/Electron-packager-windows.png)
Here is a list of well-known desktop apps built with the Electron framework: Visual Studio Code: This is a popular open-source IDE developed by Microsoft. If you want to set startup, execute the following command mkdir -p ~/Library/LaunchAgentsĬP / usr / local / cell / MySQL / 5.6.16/ ~ / library / launchagents / ා 5.6.16 is the database version number, which is modified according to the version number you installed at that time launchctl load -w ~/Library/LaunchAgents/. Applications Built on the Electron Framework. If there is no password at the beginning, enter the database directly Then prompt to enter the database password. Mysql_install_db –verbose –user= root –basedir=”$(brew –prefix mysql)” –datadir=/usr/local/var/mysql –tmpdir=/tmp Next, start MySQLĪfter startup, you can log in. Search the Internet for half a day, find solutions and execute them in turn unset TMPDIR When the installation is completed successfully, an error is reported when you want to log in: ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2)
![electron install mysql on mac electron install mysql on mac](https://enupal.com/assets/uploads/_blogImage_float/Folder-2.png)
The installer should create a symbollic link so that /usr/local/mysql resolves to the install directory (ie: /usr/local/mysql-advanced-5.5.18-osx10.6-x8664. Once the installation completes, we’ll want to take care of a few more things. Im going to assume that youve set up MySQL in /usr/local.
![electron install mysql on mac electron install mysql on mac](https://cdn.auth0.com/blog/angular2-electron/angular2-electron-logo.png)
#Electron install mysql on mac how to#
For what brew is, how to install it, it is recommended to check it on the brew official website, with the address: brew official websiteĪfter installation, it is very convenient to install other software. As of the writing of this post, the latest version of MySQL available through Homebrew is MySQL 5.7.20 8.0.12. Undoubtedly, installing a brew is a good choice. Recently, the MAC system has been reinstalled, and all commonly used software needs to be reinstalled.