Skip to content

Instantly share code, notes, and snippets.

@MarinhoFeliphe
Last active February 18, 2021 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarinhoFeliphe/e36fa7fd587210b773ce4f11d9e66cdb to your computer and use it in GitHub Desktop.
Save MarinhoFeliphe/e36fa7fd587210b773ce4f11d9e66cdb to your computer and use it in GitHub Desktop.
How to install mysql in Fedora

Install Mysql in Fedora Distribution

Author: Rodrigo Cunha

In your terminal:

sudo dnf -y install https://dev.mysql.com/get/mysql80-community-release-fc32-1.noarch.rpm

sudo dnf -y install mysql-community-server

sudo systemctl start mysqld.service

sudo systemctl enable mysqld.service

sudo grep 'A temporary password' /var/log/mysqld.log |tail -1

ALTER USER 'root'@'localhost' IDENTIFIED BY 'your temporary password';

FLUSH PRIVILEGES;

UNINSTALL COMPONENT 'file://component_validate_password';

ALTER USER 'root'@'localhost' IDENTIFIED BY '';

How to create lportal schema

mysql -u root -e "create schema lportal default character set utf8;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment