Skip to content

hon84.work

An coding monkey who reject all your request

Tag: sql

Mysql snippets

Some useful SQL snippets for MySQL

  1. create super admin

    CREATE USER 'superadmin'@'localhost' IDENTIFIED BY 'some_pass';
    GRANT ALL PRIVILEGES ON *.* TO 'superadmin'@'localhost' WITH GRANT OPTION;
  2. Create Database

    CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Author honPosted on July 25, 2019October 15, 2019Categories MySQL, snippetsTags mysql, sqlLeave a comment on Mysql snippets

Recent Posts

  • Regexp for re-phasing input name from dot notation
  • Supervisor config for laravel queue
  • [PHP] Configuration for file upload
  • [PHP] xdebug
  • vscode configurations

Categories

  • configs
  • JavaScript
  • MySQL
  • nginx
  • php
  • snippets
  • Uncategorized

Archives

  • November 2023
  • September 2019
  • August 2019
  • July 2019

Tags

  • Bootstrap
  • git
  • html input
  • JavaScript
  • larave
  • laravel
  • Modal
  • mysql
  • NGINX
  • php
  • regexp
  • shell
  • sql
  • supervisord
  • timezone
  • upload
  • utils
  • vscode
  • xdebug
hon84.work Proudly powered by WordPress