Skip to content

Instantly share code, notes, and snippets.

@javaarchive
Last active April 25, 2021 18:24
Show Gist options
  • Save javaarchive/665de07cd1c7dc39b3c322387f5d5334 to your computer and use it in GitHub Desktop.
Save javaarchive/665de07cd1c7dc39b3c322387f5d5334 to your computer and use it in GitHub Desktop.
A quick guide on how to run mysql rootless without lamp-poc.md
  1. Create a file called mysql.cnf this will be your config file
  2. Put this configuration in it (port can be anything that's not in use)
[server]
user=martin
basedir=/app/.data/mysql
datadir=/app/.data/mysql_databases
socket=/app/.data/socket
port=8123
  1. Initalize the database with https://i-like.cute-cats.online/d4PR88Wb (myself forgetting a step)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment