
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=creating_drupal_database_for_install</id>
		<title>creating drupal database for install - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=creating_drupal_database_for_install"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=creating_drupal_database_for_install&amp;action=history"/>
		<updated>2026-04-29T01:26:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=creating_drupal_database_for_install&amp;diff=1233&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;drupal version: 8. Create a new database for your site. (Change the username and databasename.)  $ mysql -u username -p -e &quot;CREATE DATABASE ''&lt;databasename&gt;'' CHARACTER SET ut...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=creating_drupal_database_for_install&amp;diff=1233&amp;oldid=prev"/>
				<updated>2019-04-04T12:45:29Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;drupal version: 8. Create a new database for your site. (Change the username and databasename.)  $ mysql -u username -p -e &amp;quot;CREATE DATABASE &amp;#039;&amp;#039;&amp;lt;databasename&amp;gt;&amp;#039;&amp;#039; CHARACTER SET ut...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;drupal version: 8.&lt;br /&gt;
Create a new database for your site. (Change the username and databasename.)&lt;br /&gt;
 $ mysql -u username -p -e &amp;quot;CREATE DATABASE ''&amp;lt;databasename&amp;gt;'' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Log in and set the access database rights:&lt;br /&gt;
&lt;br /&gt;
 $ mysql -u username -p&lt;br /&gt;
&lt;br /&gt;
At the MySQL/MariaDB prompt, create the user and set the permissions using the following command (this will create the user and grant privileges):&lt;br /&gt;
&lt;br /&gt;
 $ CREATE USER username@localhost IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
 $ GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
[[category:drupal]]&lt;br /&gt;
[[category:mysql]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>