Praleisti ir pereiti prie pagrindinio turinio

Pranešimai

Rodomi įrašai nuo Spalio, 2018

MySQL password resset (Ubuntu server 18.04)

1. Stop MySQL: $ sudo service mysql stop  2. Make MySQL service directory:  $ sudo mkdir /var/run/mysqld  3. Give MySQL user permission to write to the service directory:  $ sudo chown mysql: /var/run/mysqld  4. Start MySQL manually, without permission checks or networking:  $ sudo mysqld_safe --skip-grant-tables --skip-networking &  5.  Log in without a password.  $ mysql -u root mysql  6. Update the password for the root user.
 mysql> UPDATE mysql.user SET authentication_string=PASSWORD('YOURNEWPASSWORD') WHERE User='root';
 mysql> EXIT; 
7. Turn off MySQL:  $ sudo service mysql restart

PHPMyAdmin install/upgrade in Ubuntu 18.04

Install PHPMyAdmin in Ubuntu 18.04 1. Install phpmyadmin from source $ sudo apt install phpmyadmin
2. Creating Password Access for the MySQL Root Account $ sudo mysql
$ mysql > SELECT user,authentication_string,plugin,host FROM mysql.user;
RESULT: +------------------+-------------------------------------------+-----------------------+-----------+ | user | authentication_string | plugin | host | +------------------+-------------------------------------------+-----------------------+-----------+ | root | | auth_socket | localhost | | mysql.session | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost | | mysql.sys | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost | | debian-sys-maint | *8486437DE5F65ADC4A4B001CA591363B64746D4C | mysql_native_password | localhost | | phpmyadmin | *5FD2B7524254B7F81B3…

FreeCAD crach on start up

1. Go to /home/.local/share/applications and open your FreeCAD starter with an Editor
2. Change 'Exec' line to Exec=sh -c "LIBGL_DRI3_DISABLE=true freecad" --single-instance %U

OR

Run from terminal => LIBGL_DRI3_DISABLE=true freecad