
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Create database Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/create-database/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/create-database/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Tue, 14 Feb 2017 06:51:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Create database Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/create-database/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Create MySQL Database on Linux VPS or Dedicated Server?</title>
		<link>https://www.technig.com/create-mysql-database-linux-vps/</link>
					<comments>https://www.technig.com/create-mysql-database-linux-vps/#respond</comments>
		
		<dc:creator><![CDATA[Shams]]></dc:creator>
		<pubDate>Tue, 14 Feb 2017 06:51:35 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Create database]]></category>
		<category><![CDATA[Database Privileges]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[MySQL Tutorials]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=8998</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="MySQL Server Configuration - Create MySQL Database - Technig" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig.png 840w, https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>I&#8217;m installing a PHP web application on a Linux cloud VPS. It needs MySQL database and Username granted access to the database. So in this short step by step guide, you will learn how to create MySQL database on a Linux VPS or any dedicated server. The process is easy, just need to know some [&#8230;]</p>
<p>The post <a href="https://www.technig.com/create-mysql-database-linux-vps/">How to Create MySQL Database on Linux VPS or Dedicated Server?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="MySQL Server Configuration - Create MySQL Database - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig.png 840w, https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/02/MySQL-Server-Configuration-Create-MySQL-Database-Technig-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>I&#8217;m installing a PHP web application on a Linux cloud VPS. It needs MySQL database and Username granted access to the database. So in this short step by step guide, you will learn how to create MySQL database on a Linux VPS or any dedicated server.</p>
<p>The process is easy, just need to know some SQL server query structure. This article works on Linux and Windows. The MySQL server command line structure is the same on Linux operating systems and Windows systems.</p>
<h2>How to Create MySQL Database?</h2>
<p>Before you going to create MySQL database, you must log in to your VPS server via SSH, Telnet or even <a href="https://www.youtube.com/watch?v=zjt1-7Msscs">connect to VPS via remote desktop</a> graphically.</p>
<p>When you connected to your VPS Server or dedicated server, type the following command to create a database inside MySQL Server.</p>
<p style="padding-left: 30px;"><strong>1.</strong> Connect to VPS using PuTTY with SSH and connect to MySQL Server with the command &#8220;<strong>mysql -p</strong>&#8221; command then enter the password.</p>
<figure id="attachment_9008" aria-describedby="caption-attachment-9008" style="width: 757px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/Connect-to-MySQL-Server-in-Linux-VPS-Technig.png"><img decoding="async" class="wp-image-9008 size-full" src="http://3.90.216.52/wp-content/uploads/2017/02/Connect-to-MySQL-Server-in-Linux-VPS-Technig.png" alt="Connect to MySQL Server in Linux VPS to Create MySQL Database - Technig" width="757" height="306" srcset="https://www.technig.com/wp-content/uploads/2017/02/Connect-to-MySQL-Server-in-Linux-VPS-Technig.png 757w, https://www.technig.com/wp-content/uploads/2017/02/Connect-to-MySQL-Server-in-Linux-VPS-Technig-300x121.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></a><figcaption id="caption-attachment-9008" class="wp-caption-text">Connect to MySQL Server in Linux VPS  to Create MySQL Database &#8211; Technig</figcaption></figure>
<p style="padding-left: 30px;"><strong>2.</strong> Check the currently available databases in MySQL server with &#8220;<strong>show databases;</strong>&#8221; command.</p>
<figure id="attachment_9009" aria-describedby="caption-attachment-9009" style="width: 442px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/List-MySQL-Databases-with-Show-Database-Command.png"><img decoding="async" class="size-full wp-image-9009" src="http://3.90.216.52/wp-content/uploads/2017/02/List-MySQL-Databases-with-Show-Database-Command.png" alt="List MySQL Databases with Show Database Command" width="442" height="226" srcset="https://www.technig.com/wp-content/uploads/2017/02/List-MySQL-Databases-with-Show-Database-Command.png 442w, https://www.technig.com/wp-content/uploads/2017/02/List-MySQL-Databases-with-Show-Database-Command-300x153.png 300w" sizes="(max-width: 442px) 100vw, 442px" /></a><figcaption id="caption-attachment-9009" class="wp-caption-text">List MySQL Databases with Show Database Command</figcaption></figure>
<p><strong>Note:</strong> The information_schema, MySQL, performance_schema and PHPMyAdmin databases are the built-in.</p>
<p><strong>3.</strong> Now type &#8220;<strong>create database TechnigDB;</strong>&#8221; then press enter to create the database named &#8220;<strong>TechnigDB</strong>&#8220;. See the result with previous show databases command.</p>
<figure id="attachment_9010" aria-describedby="caption-attachment-9010" style="width: 526px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/How-to-Create-Database-in-MySQL-Server-Technig.png"><img loading="lazy" decoding="async" class="size-full wp-image-9010" src="http://3.90.216.52/wp-content/uploads/2017/02/How-to-Create-Database-in-MySQL-Server-Technig.png" alt="How to Create Database in MySQL Server - Technig" width="526" height="279" srcset="https://www.technig.com/wp-content/uploads/2017/02/How-to-Create-Database-in-MySQL-Server-Technig.png 526w, https://www.technig.com/wp-content/uploads/2017/02/How-to-Create-Database-in-MySQL-Server-Technig-300x159.png 300w" sizes="(max-width: 526px) 100vw, 526px" /></a><figcaption id="caption-attachment-9010" class="wp-caption-text">How to Create Database in MySQL Server &#8211; Technig</figcaption></figure>
<p><strong>Note:</strong> Type you own database name instead of &#8220;<strong>TechnigDB</strong>&#8220;. Also, name the databases related to your projects name.</p>
<p>The database in MySQL server created successfully. Now you need to setup a user for connecting to this database with full permission. When you install some PHP script or web applications, you must have a database and username.</p>
<h2>How to Create User in MySQL server?</h2>
<p>Like creating a database in MySQL, a user is also created with &#8220;create&#8221; command line. Try the following command to create a user name and give full access to the database.</p>
<p style="padding-left: 30px;"><strong>1.</strong> Create database with &#8220;create user &#8216;<strong>Shams&#8217;@&#8217;localhost&#8217; identified by &#8216;UserPassWordHere&#8217;;</strong>&#8220;. This command will create a user named &#8220;Shams&#8221; with password &#8220;UserPassWordHere&#8221;.</p>
<figure id="attachment_9012" aria-describedby="caption-attachment-9012" style="width: 635px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/How-to-Create-User-in-MySQL-server.png"><img loading="lazy" decoding="async" class="size-full wp-image-9012" src="http://3.90.216.52/wp-content/uploads/2017/02/How-to-Create-User-in-MySQL-server.png" alt="How to Create User in MySQL server" width="635" height="85" srcset="https://www.technig.com/wp-content/uploads/2017/02/How-to-Create-User-in-MySQL-server.png 635w, https://www.technig.com/wp-content/uploads/2017/02/How-to-Create-User-in-MySQL-server-300x40.png 300w" sizes="(max-width: 635px) 100vw, 635px" /></a><figcaption id="caption-attachment-9012" class="wp-caption-text">How to Create User in MySQL server</figcaption></figure>
<p style="padding-left: 30px;"><strong>2.</strong> Set the &#8220;<strong>Shams</strong>&#8221; user to &#8220;<strong>TechnigDB</strong>&#8221; database which created previously with &#8220;<strong>grant all privileges on TechnigDB.* to &#8216;Shams&#8217;@&#8217;localhost&#8217;;</strong>&#8221; command.</p>
<figure id="attachment_9014" aria-describedby="caption-attachment-9014" style="width: 605px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/Add-User-to-MySQL-Database-with-full-Privileges.png"><img loading="lazy" decoding="async" class="size-full wp-image-9014" src="http://3.90.216.52/wp-content/uploads/2017/02/Add-User-to-MySQL-Database-with-full-Privileges.png" alt="Add User to MySQL Database with full Privileges" width="605" height="78" srcset="https://www.technig.com/wp-content/uploads/2017/02/Add-User-to-MySQL-Database-with-full-Privileges.png 605w, https://www.technig.com/wp-content/uploads/2017/02/Add-User-to-MySQL-Database-with-full-Privileges-300x39.png 300w" sizes="(max-width: 605px) 100vw, 605px" /></a><figcaption id="caption-attachment-9014" class="wp-caption-text">Add User to MySQL Database with full Privileges</figcaption></figure>
<p style="padding-left: 30px;"><strong>3.</strong> Finally, once reload the MySQL users privileges to refresh the permissions with &#8220;<strong>flush privileges;</strong>&#8221; command.</p>
<figure id="attachment_9015" aria-describedby="caption-attachment-9015" style="width: 513px" class="wp-caption alignnone"><a href="http://3.90.216.52/wp-content/uploads/2017/02/Reload-Privileges-with-Flush-command.png"><img loading="lazy" decoding="async" class="size-full wp-image-9015" src="http://3.90.216.52/wp-content/uploads/2017/02/Reload-Privileges-with-Flush-command.png" alt="Reload Privileges with Flush command" width="513" height="69" srcset="https://www.technig.com/wp-content/uploads/2017/02/Reload-Privileges-with-Flush-command.png 513w, https://www.technig.com/wp-content/uploads/2017/02/Reload-Privileges-with-Flush-command-300x40.png 300w" sizes="(max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-9015" class="wp-caption-text">Reload Privileges with Flush command</figcaption></figure>
<p>Greate job, you did all successfully. Anyway if you have any issue related to MySQL server configuration, ask us through the comment section. We will resolve your issue quickly.</p>
<hr />
<h3><span style="color: #808080;">Searches related to how to create database in </span>MySQL</h3>
<p>MySQL create database and user<br />
how to create database in MySQL workbench<br />
how to create database in SQL<br />
how to create table in MySQL<br />
MySQL create database utf8<br />
how to create database in PHPMyAdmin<br />
What is a schema in MySQL?<br />
How do I open a SQL database?<br />
How can I connect MySQL database?</p>
<p>The post <a href="https://www.technig.com/create-mysql-database-linux-vps/">How to Create MySQL Database on Linux VPS or Dedicated Server?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/create-mysql-database-linux-vps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8998</post-id>	</item>
	</channel>
</rss>
