Skip to main content
110
results
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql -h database This action will change the prompt as you are now in mysql.  The prompt will start with mysql>Now change to the database that you want to use use doj;If you want to know what databases exist, then run show databases;Response +--------------------+ | Database | +--------------------+ | information_schema | | doj | | mysql | | performance_schema | | sys ...
Andrew Fletcher
Find by file name To perform a find command in terminal use find / -name...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your mac? Check by running the command puttygen -VWhich will generate a response similar to  puttygen: Release 0.76 Build platform: 64-bit Unix Compiler: clang 12.0.5 (clang-1205.0.22.9) Source commit: 1fd7baa7344bb....Don't have Putty, well easily fixed with homebrew. brew install putty  Generate the key We will use puttygen to generate the key. puttygen key.ppk -O private-openssh -o key.pem key.ppk the...
Andrew Fletcher
How do you rebuild node access permissions using CLI? To rebuild permissions...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
Attempting to update the database, irrespective whether I run update.php or...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers.  The client was getting no response from the dev company, when they asked if I could have a look.  The app hadn't been updated for 18 months.  So of course, a product that hasn't been updated in that timeframe is going to have a suite of npm update issues / conflicts.   What is the difference between dependancy and devDependancy packages? When you install an npm package using npm install...
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...