Chromebook xfce mysql setup

 Here are the steps i used to setup mysql on xfce (chromebook)


  1. open terminal
  2. run sudo apt-get install mysql-server
    1. during the installation, you will be asked to enter the root password for the mysql instance - this is not the password for the root user for linux.
  3. restart the server to get it running using sudo /etc/init.d/mysql restart
    1. you may get some warning - you can ignore that
  4. for security setup, run mysql_secure_installation. you can set the password rules, connection rules etc. here
  5. restart again using step 3
  6. check status using sudo /etc/init.d/mysql status and you should get the below response (or something similar to that)


 * /usr/bin/mysqladmin  Ver 8.42 Distrib 5.7.22, for Linux on x86_64
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Server version 5.7.22-0ubuntu0.16.04.1
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 7 min 15 sec

Threads: 1  Questions: 20  Slow queries: 0  Opens: 109  Flush tables: 1  Open tables: 28  Queries per second avg: 0.045

Comments

Popular posts from this blog

Chromebook xfce printer adventure

Ubuntu 18.04 Postman error

Chromebook xfce volume controls