How to Fix Memory Limit Issues in WordPress & PHP
In this guide, you will explore how to resolve memory limit issues in WordPress and…
We’ll show you how to make a CNCC user and a CNCC database in this article.
$ CREATE USER '<CNCC User Name>'@'%' IDENTIFIED BY '<CNCC Password>';$ show databases; to check if the database exists$ CREATE DATABASE IF NOT EXISTS <CNCC Database> CHARACTER SET utf8; for Database creation.$ GRANT SELECT,INSERT,CREATE,ALTER,DROP,LOCK TABLES,CREATE TEMPORARY TABLES, DELETE,UPDATE,EXECUTE ON <CNCC Database>.* TO '<CNCC User Name>'@'%';To show how to create a cncc user, a cnccdb, and provide rights to a cncc user, consider the following scenario:
# Login to MySql prompt:-
$ mysql -u root -p
Check user already exists or not
$ SELECT User FROM mysql.user;
# In case, user already exists, move to next step. Command to create new user is as mentioned below:-
$ CREATE USER 'cnccusr'@'%' IDENTIFIED BY 'cnccpasswd'
# Command to check if database exists:-
$ show databases;
# Check if required database is already in list. If MySql has cnccdb already created as per 1.0.0 release creation, drop it.
$ DROP DATABASE cnccdb;
# Database creation for CNCC
$ CREATE DATABASE IF NOT EXISTS cnccdb CHARACTERSET utf8;
#Granting permission to user:-
$ GRANT SELECT, INSERT, CREATE, ALTER, DROP, LOCK TABLES, CREATE TEMPORARY TABLES, DELETE, UPDATE, EXECUTE ON cnccdb .* TO'cnccusr'@'%';
We genuinely hope you now have a better understanding of Create a MySQL database and a username. If you continue to have problems with the method outlined above, please contact the bodHOST Team for assistance. 24×7
Explore more hosting insights, tips and industry updates.
In this guide, you will explore how to resolve memory limit issues in WordPress and…
Have you ever attempted migration? It is simple and straightforward to carry out. Check out…
This guide explains step-by-step how to delete a MySQL database in cPanel. Steps to Wipe…