These are the exact instructions to upgrade MySQL to version 8 on Largon v.4.0.16 on Windows 10 1909 x64. If you have already ran Mysql in Laragon you can skip to step 3.
BACK UP YOUR DATA FILE BEFORE YOU DO ANYTHING!
Click Start All. This will create the mysql folder and files at C:\laragon\data\mysql
Go to Quick Add Configuration (Menu->Tools->Quick add->Configuration)
Uncomment the mysql-8.0 (Line 12, delete # sign)
Edit the mysql version to current version. (Change mysql-8.0.13-winx64.zip TO mysql-8.0.20-winx64.zip )
Save & Close file
Go back to Quick Add and select mysql-8.0. Download will start.
After download, go to Menu->Mysql->Version and select mysql-8.0.20-winx64
Rename C:\laragon\data\mysql to C:\laragon\data\mysql-8 (BACK UP THE mysql FOLDER FIRST!!!!!)
Click Start All Button
If you get VCRUNTIME140_1 error, install updated Microsoft Visual C++ from https://aka.ms/vs/16/release/vc_redist.x64.exe
If Windows Firewall opens give permissions for mysql
If your machine is behind a company proxy, you may not be able to download files using "Quick app" and "Quick add" features of Laragon.
With laragon 4.0.1+, you can overcome the limitation by using Proxy. Here's how:
Open laragon.ini in Menu > Laragon > laragon.ini
Add Proxy=<host>:<port> below [preferences]. For example:
It doesn't work and I got these errors :
ssh: Could not resolve hostname your-remote-host: Name or service not known
'root@localhost:' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ssh: connect to host localhost port 22: Connection refused
To execute this I opened the terminal to C:\laragon\www and executed "gem install rails" (without the quotes). There were a list of "Fetch" and "Successfully installed" statements followed by "MSYS2 could not be found. Please run 'ridk install' or download and install MSYS2 manually from https://msys2.github.io/"
I executed "ridk install" which gave 3 options (1. MSYS2 base installation, 2. MSYS2 system update (optional) and 3. MSYS2 and MINGW development toolchain). I entered "1,3" as my install options and a series of messages followed. Towards the end I received the following messages:
error: target not found: pkgconf
error: target not found: mingw-w64-x86_64-pkgconf
Install MSYS2 and MINGW development toolchain failed
Installation failed: pacman failed
Then the 3 install options were presented again asking which components to install and suggesting pressing Enter, if unsure. Pressing Entertakes me back to the command prompt.
I'm not able to get Imagick or Graphicsmagick running in my TYPO3 installations on Windows 10 x64. I installed Imagick according to your tutorial, but TYPO3 expects a binary file in /usr/bin/, additional to the PHP extension.
So I tried moving the Windows imagick binaries to the laragon/usr/bin/ folder, but that made all the imagick dll's crash each time I accessed the imagick functions in PHP.
Any idea how to get it running? Did anyhone have success before?
I would like to share a recent article about setting up a global .gitignore file, this article is written by Sebastian De Deyne Designer & developer at Spatie. I would recommend the full article. Although it does give some information on how to do this on Windows, I wanted to share an abbreviated version just for Windows users to easily follow.
TL&DR; windows version
When editing other projects, your IDE config should not pollute the other project.
That project's .gitignore should not care about your IDE.
First, create a .gitignore file. Your profile is a good place:
To ignore PhpStorm, VSCode and any picture thumbs, add the following to the .gitignore:
Save the file, then add it to your global git config:
From now on when you open a project, with your IDE, your IDE config folder will be ignored by git version control. There is also a security benefit, your IDE could 'leak' information regarding your project config.