<div class="widget-dash col-xs-12 col-md-8 col-md-offset-2">
<div class="inner install" style="min-height:auto;">
	<h4>Installation with mysqlimport tool</h4>

	<div class="hContent">
	<div style="padding:10px;">

		<!-- Back -->
		<a href="<?php print create_link("install",null,null,null,null,true); ?>" class="btn btn-sm btn-default"><i class='fa fa-angle-left'></i> Back</a>
		<!-- Instructions -->
		<div style="margin-top:10px;padding:30px 20px;">
			For installation with mysqlimport please follow below steps:<hr>
			<ol>
				<li>Set variables for database connection in config.php</li>
				<li>Open mysql connection
					<pre>mysql -u root -p
Enter password:</pre>
				</li>
				
				<li>Create database
					<pre>CREATE DATABASE `<?php print $db['name']; ?>`;
exit</pre>
				</li>
				
				<li>Import SQL file
					<pre>mysql -u root -p < db/SCHEMA.sql</pre>
				</li>
				
				<li>Set permissions for phpipam user
				<pre>GRANT ALL on `<?php print $db['name'];?>`.* to <?php print $db['user'];?>@localhost identified by '<?php print $db['pass'];?>';</pre>
				</li>
				
				<li>Finished ! Now login with <strong>Admin/ipamadmin</strong> to webpage<br>
				<a href="<?php print create_link(null,null,null,null,null,true); ?>" class="btn btn-sm btn-info">Login</a>
				</li>
			</ol> 
			<hr>
		</div>
			
	</div>
	</div>
</div>	
</div>