<?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>database Archives - Tech Chronicles</title>
	<atom:link href="http://kostacipo.stream/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://kostacipo.stream/tag/database/</link>
	<description>Ramblings of a Tech Dude</description>
	<lastBuildDate>Fri, 13 Dec 2019 13:18:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://kostacipo.stream/wp-content/uploads/2019/12/cropped-profile-32x32.jpg</url>
	<title>database Archives - Tech Chronicles</title>
	<link>http://kostacipo.stream/tag/database/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>BSQLinjector – Blind SQL Injection Tool Download in Ruby</title>
		<link>http://kostacipo.stream/bsqlinjector-blind-sql-injection-tool-download-in-ruby/</link>
					<comments>http://kostacipo.stream/bsqlinjector-blind-sql-injection-tool-download-in-ruby/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Fri, 13 Dec 2019 13:18:46 +0000</pubDate>
				<category><![CDATA[Cybersecurity]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[sql injection]]></category>
		<guid isPermaLink="false">http://www.kostacipo.stream/?p=1465</guid>

					<description><![CDATA[<p>&#160; BSQLinjector is an easy to use Blind SQL Injection tool in Ruby, that uses blind methods to retrieve data from SQL databases. The download is below. &#160; The author recommends using the “--test” switch to clearly see how configured payload looks like before sending it to an application. What is Blind SQL Injection? Blind [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/bsqlinjector-blind-sql-injection-tool-download-in-ruby/">BSQLinjector – Blind SQL Injection Tool Download in Ruby</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>BSQLinjector is an easy to use Blind SQL Injection tool in Ruby, that uses blind methods to retrieve data from SQL databases. The download is below.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-medium wp-image-4782" src="https://cdn.darknet.org.uk/wp-content/uploads/2017/09/BSQLinjector-Blind-SQL-Injection-Tool-Download-640x360.png" sizes="(max-width: 640px) 100vw, 640px" srcset="https://cdn.darknet.org.uk/wp-content/uploads/2017/09/BSQLinjector-Blind-SQL-Injection-Tool-Download-640x360.png 640w, https://cdn.darknet.org.uk/wp-content/uploads/2017/09/BSQLinjector-Blind-SQL-Injection-Tool-Download.png 908w" alt="BSQLinjector - Blind SQL Injection Tool Download" width="640" height="360"></p>
<p>&nbsp;</p>
<p>The author recommends using the “<code>--test</code>” switch to clearly see how configured payload looks like before sending it to an application.</p>
<h2>What is Blind SQL Injection?</h2>
<p>Blind SQL Injection is a type of SQL Injection (SQLi) attack that asks the database true or false questions and determines the answer based on the application’s response. This attack is often used when the web application is configured to show generic error messages but has not mitigated the code that is vulnerable to SQL injection.</p>
<h2>Using BSQLinjector for Blind SQL Injection</h2>
<div id="crayon-5df38f50d5756696199123" class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover">
<div class="crayon-plain-wrap"><textarea class="crayon-plain print-no" readonly="readonly" data-settings="dblclick" wrap="soft">  &#8211;file	    Mandatory &#8211; File containing valid HTTP request and SQL injection point (SQLINJECT). (&#8211;file=/tmp/req.txt)<br />
  &#8211;pattern	    Mandatory &#8211; Pattern to look for when query is true. (&#8211;pattern=truestatement)<br />
  &#8211;prepend	    Mandatory &#8211; Main payload. (&#8211;prepend=&#8221;abcd&#8217;and&#8217;a&#8217;=&#8217;b&#8217;+union+select+&#8217;truestatement&#8217;+from+table+where+col%3d&#8217;value&#8217;+and+substr(password,&#8221;<br />
  &#8211;append	    How to end our payload. For example comment out rest of SQL statement. (&#8211;append=&#8217;#)<br />
  &#8211;schar	    Character placed around chars. This character is not used while in hex mode. (&#8211;schar=&#8221;&#8216;&#8221;)<br />
  &#8211;2ndfile	    File containing valid HTTP request used in second order exploitation. (&#8211;2ndfile=/tmp/2ndreq.txt)</p>
<p>  &#8211;mode	    Blind mode to use &#8211; (between &#8211; b (generates less requests), moreless &#8211; a (generates less requests by using &#8220;&lt;&#8220;, &#8220;&gt;&#8221;, &#8220;=&#8221; characters), like &#8211; l (complete bruteforce), equals &#8211; e (complete bruteforce)). (&#8211;mode=l)<br />
  &#8211;hex		    Use hex to compare instead of characters.<br />
  &#8211;case	    Case sensitivity.</p>
<p>  &#8211;ssl		    Use SSL.<br />
  &#8211;proxy	    Proxy to use. (&#8211;proxy=127.0.0.1:8080)</p>
<p>  &#8211;test	    Enable test mode. Do not send request, just show full payload.<br />
  &#8211;special	    Include all special characters in enumeration.<br />
  &#8211;start	    Start enumeration from specified character. (&#8211;start=10)<br />
  &#8211;max		    Maximum characters to enumerate. (&#8211;max=10)<br />
  &#8211;timeout	    Timeout in waiting for responses. (&#8211;timeout=20)<br />
  &#8211;only-final	Stop showing each enumerated letter.<br />
  &#8211;comma	    Encode comma.<br />
  &#8211;bracket	    Add brackets to the end of substring function. &#8211;bracket=&#8221;))&#8221;<br />
  &#8211;hexspace	Use space instead of brackets to split hex values.<br />
  &#8211;verbose	    Show verbose messages.</textarea></div>
<div class="crayon-main">
<table class="crayon-table">
<tbody>
<tr class="crayon-row">
<td class="crayon-nums " data-settings="show">
<div class="crayon-nums-content">
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-1">1</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-2">2</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-3">3</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-4">4</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-5">5</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-6">6</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-7">7</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-8">8</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-9">9</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-10">10</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-11">11</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-12">12</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-13">13</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-14">14</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-15">15</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-16">16</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-17">17</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-18">18</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-19">19</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-20">20</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-21">21</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-22">22</div>
<div class="crayon-num" data-line="crayon-5df38f50d5756696199123-23">23</div>
<div class="crayon-num crayon-striped-num" data-line="crayon-5df38f50d5756696199123-24">24</div>
</div>
</td>
<td class="crayon-code">
<div class="crayon-pre">
<div id="crayon-5df38f50d5756696199123-1" class="crayon-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">file &nbsp;&nbsp;&nbsp;&nbsp;</span><span class="crayon-v">Mandatory</span> <span class="crayon-o">&#8211;</span> <span class="crayon-e">File </span><span class="crayon-e">containing </span><span class="crayon-e">valid </span><span class="crayon-e">HTTP </span><span class="crayon-e">request </span><span class="crayon-st">and</span> <span class="crayon-e">SQL </span><span class="crayon-e">injection </span><span class="crayon-e">point</span> <span class="crayon-sy">(</span><span class="crayon-v">SQLINJECT</span><span class="crayon-sy">)</span><span class="crayon-sy">.</span> <span class="crayon-sy">(</span><span class="crayon-o">&#8212;</span><span class="crayon-v">file</span><span class="crayon-o">=</span><span class="crayon-o">/</span><span class="crayon-v">tmp</span><span class="crayon-o">/</span><span class="crayon-v">req</span><span class="crayon-sy">.</span><span class="crayon-v">txt</span><span class="crayon-sy">)</span></div>
<div id="crayon-5df38f50d5756696199123-2" class="crayon-line crayon-striped-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">pattern &nbsp;&nbsp;&nbsp;&nbsp;</span><span class="crayon-v">Mandatory</span> <span class="crayon-o">&#8211;</span> <span class="crayon-e">Pattern </span><span class="crayon-st">to</span> <span class="crayon-e">look </span><span class="crayon-st">for</span> <span class="crayon-e">when </span><span class="crayon-e">query </span><span class="crayon-st">is</span> <span class="crayon-t">true</span><span class="crayon-sy">.</span> <span class="crayon-sy">(</span><span class="crayon-o">&#8212;</span><span class="crayon-v">pattern</span><span class="crayon-o">=</span><span class="crayon-v">truestatement</span><span class="crayon-sy">)</span></div>
<div id="crayon-5df38f50d5756696199123-3" class="crayon-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">prepend &nbsp;&nbsp;&nbsp;&nbsp;</span><span class="crayon-v">Mandatory</span> <span class="crayon-o">&#8211;</span> <span class="crayon-e">Main </span><span class="crayon-v">payload</span><span class="crayon-sy">.</span> <span class="crayon-sy">(</span><span class="crayon-o">&#8212;</span><span class="crayon-v">prepend</span><span class="crayon-o">=</span><span class="crayon-s">&#8220;abcd&#8217;and&#8217;a&#8217;=&#8217;b&#8217;+union+select+&#8217;truestatement&#8217;+from+table+where+col%3d&#8217;value&#8217;+and+substr(password,&#8221;</span></div>
<div id="crayon-5df38f50d5756696199123-4" class="crayon-line crayon-striped-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">append &nbsp;&nbsp;&nbsp;&nbsp;</span><span class="crayon-e">How </span><span class="crayon-st">to</span> <span class="crayon-st">end</span> <span class="crayon-e">our </span><span class="crayon-v">payload</span><span class="crayon-sy">.</span> <span class="crayon-st">For</span> <span class="crayon-e">example </span><span class="crayon-e">comment </span><span class="crayon-e">out </span><span class="crayon-e">rest </span><span class="crayon-e">of </span><span class="crayon-e">SQL </span><span class="crayon-v">statement</span><span class="crayon-sy">.</span> <span class="crayon-sy">(</span><span class="crayon-o">&#8212;</span><span class="crayon-v">append</span><span class="crayon-o">=</span><span class="crayon-s">&#8216;#)</span></div>
<div id="crayon-5df38f50d5756696199123-5" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;schar &nbsp;&nbsp;&nbsp;&nbsp;Character placed around chars. This character is not used while in hex mode. (&#8211;schar=&#8221;&#8216;</span><span class="crayon-s">&#8220;)</span></div>
<div id="crayon-5df38f50d5756696199123-6" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;2ndfile &nbsp;&nbsp;&nbsp;&nbsp;File containing valid HTTP request used in second order exploitation. (&#8211;2ndfile=/tmp/2ndreq.txt)</span></div>
<div id="crayon-5df38f50d5756696199123-7" class="crayon-line">&nbsp;</div>
<div id="crayon-5df38f50d5756696199123-8" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;mode &nbsp;&nbsp;&nbsp;&nbsp;Blind mode to use &#8211; (between &#8211; b (generates less requests), moreless &#8211; a (generates less requests by using &#8220;</span><span class="crayon-o">&lt;</span><span class="crayon-s">&#8220;, &#8220;</span><span class="crayon-o">&gt;</span><span class="crayon-s">&#8220;, &#8220;</span><span class="crayon-o">=</span><span class="crayon-s">&#8221; characters), like &#8211; l (complete bruteforce), equals &#8211; e (complete bruteforce)). (&#8211;mode=l)</span></div>
<div id="crayon-5df38f50d5756696199123-9" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;hex &nbsp;&nbsp;&nbsp;&nbsp;Use hex to compare instead of characters.</span></div>
<div id="crayon-5df38f50d5756696199123-10" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;case &nbsp;&nbsp;&nbsp;&nbsp;Case sensitivity.</span></div>
<div id="crayon-5df38f50d5756696199123-11" class="crayon-line">&nbsp;</div>
<div id="crayon-5df38f50d5756696199123-12" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;ssl &nbsp;&nbsp;&nbsp;&nbsp;Use SSL.</span></div>
<div id="crayon-5df38f50d5756696199123-13" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;proxy &nbsp;&nbsp;&nbsp;&nbsp;Proxy to use. (&#8211;proxy=127.0.0.1:8080)</span></div>
<div id="crayon-5df38f50d5756696199123-14" class="crayon-line crayon-striped-line">&nbsp;</div>
<div id="crayon-5df38f50d5756696199123-15" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;test &nbsp;&nbsp;&nbsp;&nbsp;Enable test mode. Do not send request, just show full payload.</span></div>
<div id="crayon-5df38f50d5756696199123-16" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;special &nbsp;&nbsp;&nbsp;&nbsp;Include all special characters in enumeration.</span></div>
<div id="crayon-5df38f50d5756696199123-17" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;start &nbsp;&nbsp;&nbsp;&nbsp;Start enumeration from specified character. (&#8211;start=10)</span></div>
<div id="crayon-5df38f50d5756696199123-18" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;max &nbsp;&nbsp;&nbsp;&nbsp;Maximum characters to enumerate. (&#8211;max=10)</span></div>
<div id="crayon-5df38f50d5756696199123-19" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;timeout &nbsp;&nbsp;&nbsp;&nbsp;Timeout in waiting for responses. (&#8211;timeout=20)</span></div>
<div id="crayon-5df38f50d5756696199123-20" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;only-final Stop showing each enumerated letter.</span></div>
<div id="crayon-5df38f50d5756696199123-21" class="crayon-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;comma &nbsp;&nbsp;&nbsp;&nbsp;Encode comma.</span></div>
<div id="crayon-5df38f50d5756696199123-22" class="crayon-line crayon-striped-line"><span class="crayon-s">&nbsp;&nbsp;&#8211;bracket &nbsp;&nbsp;&nbsp;&nbsp;Add brackets to the end of substring function. &#8211;bracket=&#8221;</span><span class="crayon-sy">)</span><span class="crayon-sy">)</span>&#8220;</div>
<div id="crayon-5df38f50d5756696199123-23" class="crayon-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">hexspace </span><span class="crayon-st">Use</span> <span class="crayon-e">space </span><span class="crayon-e">instead </span><span class="crayon-e">of </span><span class="crayon-e">brackets </span><span class="crayon-st">to</span> <span class="crayon-e">split </span><span class="crayon-e">hex </span><span class="crayon-v">values</span><span class="crayon-sy">.</span></div>
<div id="crayon-5df38f50d5756696199123-24" class="crayon-line crayon-striped-line"><span class="crayon-h">&nbsp;&nbsp;</span><span class="crayon-o">&#8212;</span><span class="crayon-e">verbose &nbsp;&nbsp;&nbsp;&nbsp;</span><span class="crayon-e">Show </span><span class="crayon-e">verbose </span><span class="crayon-v">messages</span><span class="crayon-sy">.</span></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>&nbsp;</p>
<p>Example usage:</p>
<div id="crayon-5df38f50d5761260054175" class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover">
<div class="crayon-plain-wrap"><textarea class="crayon-plain print-no" readonly="readonly" data-settings="dblclick" wrap="soft"> ruby ./BSQLinjector.rb &#8211;pattern=truestatement &#8211;file=/tmp/req.txt &#8211;schar=&#8221;&#8216;&#8221; &#8211;prepend=&#8221;abcd&#8217;and&#8217;a&#8217;=&#8217;b&#8217;+union+select+&#8217;truestatement&#8217;+from+table+where+col%3d&#8217;value&#8217;+and+substr(password,&#8221; &#8211;append=&#8221;&#8216;#&#8221; &#8211;ssl</textarea></div>
<div class="crayon-main">
<table class="crayon-table">
<tbody>
<tr class="crayon-row">
<td class="crayon-nums " data-settings="show">
<div class="crayon-nums-content">
<div class="crayon-num" data-line="crayon-5df38f50d5761260054175-1">1</div>
</div>
</td>
<td class="crayon-code">
<div class="crayon-pre">
<div id="crayon-5df38f50d5761260054175-1" class="crayon-line"><span class="crayon-i">ruby</span> <span class="crayon-sy">.</span><span class="crayon-o">/</span><span class="crayon-v">BSQLinjector</span><span class="crayon-sy">.</span><span class="crayon-v">rb</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">pattern</span><span class="crayon-o">=</span><span class="crayon-v">truestatement</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">file</span><span class="crayon-o">=</span><span class="crayon-o">/</span><span class="crayon-v">tmp</span><span class="crayon-o">/</span><span class="crayon-v">req</span><span class="crayon-sy">.</span><span class="crayon-v">txt</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">schar</span><span class="crayon-o">=</span><span class="crayon-s">&#8220;&#8216;&#8221;</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">prepend</span><span class="crayon-o">=</span><span class="crayon-s">&#8220;abcd&#8217;and&#8217;a&#8217;=&#8217;b&#8217;+union+select+&#8217;truestatement&#8217;+from+table+where+col%3d&#8217;value&#8217;+and+substr(password,&#8221;</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">append</span><span class="crayon-o">=</span><span class="crayon-s">&#8220;&#8216;#&#8221;</span> <span class="crayon-o">&#8212;</span><span class="crayon-v">ssl</span></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>The most famous Blind SQL injection tool would definitely be <a href="https://www.darknet.org.uk/2007/02/sqlmap-automated-blind-sql-injection-tool/">sqlmap, which automates it</a>.</p>
<p>You can download BSQLinjector here:</p>
<p><a href="https://raw.githubusercontent.com/enjoiz/BSQLinjector/master/BSQLinjector.rb">BSQLinjector.rb</a></p>
<p>Or read more <a href="https://github.com/enjoiz/BSQLinjector">here</a>.</p>
<p>The post <a href="http://kostacipo.stream/bsqlinjector-blind-sql-injection-tool-download-in-ruby/">BSQLinjector – Blind SQL Injection Tool Download in Ruby</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/bsqlinjector-blind-sql-injection-tool-download-in-ruby/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Manage MySQL / MariaDB &#038; PostgreSQL Database Server with Adminer</title>
		<link>http://kostacipo.stream/its-ok-to-work-in-a-bar-while-getting-a-degree/</link>
					<comments>http://kostacipo.stream/its-ok-to-work-in-a-bar-while-getting-a-degree/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Thu, 17 Jan 2019 17:28:58 +0000</pubDate>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[adminer]]></category>
		<category><![CDATA[database]]></category>
		<guid isPermaLink="false">https://demo.mekshq.com/johannes/dc/?p=224</guid>

					<description><![CDATA[<p>&#160; Admirer is a free and open source Database management system that is packaged in a single PHP file. This guide will discuss how you can install and use Adminer to manage MySQL, MariaDB and PostgreSQL database servers. Admirer has supports for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, SimpleDB, Elasticsearch, MongoDB, Firebird e.t.c. You [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/its-ok-to-work-in-a-bar-while-getting-a-degree/">Manage MySQL / MariaDB &#038; PostgreSQL Database Server with Adminer</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>

<p>Admirer is a free and open source Database management system that is packaged in a single PHP file. This guide will discuss how you can install and use Adminer to manage MySQL, MariaDB and PostgreSQL database servers. Admirer has supports for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, SimpleDB, Elasticsearch, MongoDB, Firebird e.t.c.</p>
<p>You can replace phpMyAdmin with Adminer and enjoy its simple and intuitive user interface. See<a href="https://www.adminer.org/en/phpmyadmin/" target="_blank" rel="noreferrer noopener" aria-label=" phpMyAdmin vs Adminer (opens in a new tab)"> phpMyAdmin vs Adminer</a> page. The only requirement of Admirer is PHP 5/7 with enabled sessions.</p>
<h2>Features of Adminer Database Management Tool</h2>
<p>Here are the standard features of Admirer.</p>
<ul>
<li>Connect to a database server with username and password</li>
<li>Select an existing database or create a new one</li>
<li>List fields, indexes, foreign keys and triggers of table</li>
<li>Change name, engine, collation, auto_increment and comment of table</li>
<li>Alter name, type, collation, comment and default values of columns</li>
<li>Add and drop tables and columns</li>
<li>Create, alter, drop and search by indexes including fulltext</li>
<li>Create, alter, drop and link lists by foreign keys</li>
<li>Create, alter, drop and select from views</li>
<li>Create, alter, drop and call stored procedures and functions</li>
<li>Create, alter and drop triggers</li>
<li>List data in tables with search, aggregate, sort and limit results</li>
<li>Insert new records, update and delete the existing ones</li>
<li>Supports all data types, blobs through file transfer</li>
<li>Execute any SQL command from a text field or a file</li>
<li>Export table structure, data, views, routines, databases to SQL or CSV</li>
<li>Print database schema connected by foreign keys</li>
<li>Show processes and kill them</li>
<li>Display users and rights and change them</li>
<li>Display variables with links to documentation</li>
<li>Manage events and table partitions (MySQL 5.1)</li>
<li>Schemas, sequences, user types (PostgreSQL)</li>
</ul>
<h2>Install Adminer on Linux</h2>
<p>Adminer requires PHP, let’s ensure it is installed in our system.</p>
<h2>Step 1: Install PHP</h2>
<pre class="wp-block-code"><code>----- Install PHP on Ubuntu / Debian ------
$ sudo apt -y install php php-common php-pear php-mbstring libapache2-mod-php php-mysql

----- Install PHP on CentOS / Fedora ------
$ sudo yum -y install php php-pear php-mbstring php-mysqlnd</code></pre>
<p>Once PHP is installed, download Adminer php script.</p>
<h2>Step 2: Install Apache Web Server</h2>
<p>We’ll use Apache httpd web server to host Adminer on Linux.</p>
<pre class="wp-block-code"><code>----- Install Apache on Ubuntu / Debian ------
$ sudo apt -y install apache2 wget
$ sudo systemctl enable --now wget

----- Install Apache on CentOS / Fedora ------
$ sudo yum -y install httpd wget
$ sudo systemctl enable --now httpd</code></pre>
<h2>Step 3: Install Adminer on Linux – Ubuntu / Debian / CentOS / Fedora</h2>
<p>Now download the <a href="https://github.com/vrana/adminer/releases/" target="_blank" rel="noreferrer noopener" aria-label="latest Adminer  (opens in a new tab)">latest Adminer </a>PHP script and place it in your Web document root.</p>
<pre class="wp-block-code"><code>export VER="4.7.4"
sudo wget -O /var/www/html/adminer.php <a class="vglnk" href="https://github.com/vrana/adminer/releases/download/v$%7BVER%7D/adminer-$%7BVER%7D.php" rel="nofollow">https://github.com/vrana/adminer/releases/download/v${VER}/adminer-${VER}.php</a></code></pre>
<p>Access Adminer Dashboard on <strong><a class="vglnk" href="http://serverip/adminer.php" rel="nofollow">http://serverip/adminer.php</a></strong>.</p>
<ol>
<li>Connect to your database by selecting the type on the dropdown menu.</li>
<li>Input database access details.</li>
<li>You should get to a dashboard.</li>
</ol>
<p>A supported PHP extension is required when connecting to a database backend.</p>
<p>The post <a href="http://kostacipo.stream/its-ok-to-work-in-a-bar-while-getting-a-degree/">Manage MySQL / MariaDB &#038; PostgreSQL Database Server with Adminer</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/its-ok-to-work-in-a-bar-while-getting-a-degree/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install MariaDB 10.4 on Fedora 31/30/29</title>
		<link>http://kostacipo.stream/master-the-art-of-choosing-the-right-gift/</link>
					<comments>http://kostacipo.stream/master-the-art-of-choosing-the-right-gift/#respond</comments>
		
		<dc:creator><![CDATA[Majordomo]]></dc:creator>
		<pubDate>Sun, 13 Jan 2019 23:02:12 +0000</pubDate>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mariadb]]></category>
		<guid isPermaLink="false">https://demo.mekshq.com/johannes/dc/?p=152</guid>

					<description><![CDATA[<p>&#160; This guide will discuss the steps required to install MariaDB 10.4 on Fedora 31/30/29. MariaDB is a widely used relational database server that is community-developed, forked from MySQL relational database management system. MariaDB is an open-source and free software released under the General Public License version 2. The latest stable release as of this [&#8230;]</p>
<p>The post <a href="http://kostacipo.stream/master-the-art-of-choosing-the-right-gift/">How To Install MariaDB 10.4 on Fedora 31/30/29</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>This guide will discuss the steps required to install MariaDB 10.4 on Fedora 31/30/29. MariaDB is a widely used relational database server that is community-developed, forked from MySQL relational database management system.</p>
<p>MariaDB is an open-source and free software released under the General Public License version 2. The latest stable release as of this article writing is version <strong>10.4.</strong> The MariaDB packages are distributed as binaries on mariadb.org. But you also have an option to build it from source should you choose to do so.</p>
<p>So let’s start to install MariaDB 10.4 on Fedora 31/30/29.</p>
<h2>Step 1: Update Fedora machine</h2>
<p>Let’s make sure we’re running the latest versions of Fedora packages in our system.</p>
<pre class="wp-block-code"><code>sudo dnf -y update</code></pre>
<p>Reboot the server after upgrade.</p>
<pre class="wp-block-code"><code>sudo systemctl reboot</code></pre>
<h2>Step 2: Add MariaDB RPM repository</h2>
<p>Now add the MariaDB RPM repository to your system.</p>
<p><strong>Fedora 31/30:</strong></p>
<pre class="wp-block-code"><code>sudo tee /etc/yum.repos.d/mariad.repo&lt;&lt;EOF
[mariadb]
name = MariaDB
baseurl = <a class="vglnk" href="http://yum.mariadb.org/10.4/fedora30-amd64" rel="nofollow">http://yum.mariadb.org/10.4/fedora30-amd64</a>
gpgkey=<a class="vglnk" href="https://yum.mariadb.org/RPM-GPG-KEY-MariaDB" rel="nofollow">https://yum.mariadb.org/RPM-GPG-KEY-MariaDB</a>
gpgcheck=1
EOF</code></pre>
<p><strong>Fedora 29:</strong></p>
<pre class="wp-block-code"><code>sudo tee /etc/yum.repos.d/mariad.repo&lt;&lt;EOF
[mariadb]
name = MariaDB
baseurl = <a class="vglnk" href="http://yum.mariadb.org/10.4/fedora29-amd64" rel="nofollow">http://yum.mariadb.org/10.4/fedora29-amd64</a>
gpgkey=<a class="vglnk" href="https://yum.mariadb.org/RPM-GPG-KEY-MariaDB" rel="nofollow">https://yum.mariadb.org/RPM-GPG-KEY-MariaDB</a>
gpgcheck=1
EOF</code></pre>
<h2>Step 3: Install MariaDB 10.4 on Fedora 31/30/29</h2>
<p>Now install MariaDB 10.4 on Fedora 31/30/29 Linux system.</p>
<pre class="wp-block-code"><code>sudo dnf -y install MariaDB-server</code></pre>
<p>Below is the dependency tree and list of packages to be installed.</p>
<div id="compu-406198532" class="compu-midarticle" data-cfpa="38883"></div>
<pre class="wp-block-code"><code>Dependencies resolved.
===================================================================================================================================================
 Package                                    Architecture               Version                                   Repository                   Size
===================================================================================================================================================
Installing:
 MariaDB-server                             x86_64                     10.4.8-1.fc30                             mariadb                      25 M
Installing dependencies:
 boost-program-options                      x86_64                     1.69.0-9.fc31                             fedora                      161 k
 libaio                                     x86_64                     0.3.111-6.fc31                            fedora                       24 k
 lsof                                       x86_64                     4.93.2-2.fc31                             fedora                      240 k
 perl-Carp                                  noarch                     1.50-439.fc31                             fedora                       29 k
 perl-DBI                                   x86_64                     1.642-5.fc31                              fedora                      701 k
 perl-Data-Dumper                           x86_64                     2.174-440.fc31                            fedora                       57 k
 perl-Digest                                noarch                     1.17-439.fc31                             fedora                       24 k
 perl-Digest-MD5                            x86_64                     2.55-439.fc31                             fedora                       36 k
 perl-Encode                                x86_64                     4:3.01-439.fc31                           fedora                      1.8 M
 perl-Errno                                 x86_64                     1.30-446.fc31                             fedora                       25 k
 perl-Exporter                              noarch                     5.73-440.fc31                             fedora                       32 k
 perl-File-Path                             noarch                     2.16-439.fc31                             fedora                       36 k
 perl-File-Temp                             noarch                     1:0.230.900-439.fc31                      fedora                       60 k
 perl-Getopt-Long                           noarch                     1:2.51-1.fc31                             fedora                       60 k
 perl-HTTP-Tiny                             noarch                     0.076-439.fc31                            fedora                       55 k
 perl-IO                                    x86_64                     1.40-446.fc31                             fedora                       92 k
 perl-MIME-Base64                           x86_64                     3.15-439.fc31                             fedora                       30 k
 perl-Math-BigInt                           noarch                     1:1.9998.16-439.fc31                      fedora                      185 k
 perl-Math-Complex                          noarch                     1.59-446.fc31                             fedora                       57 k
 perl-Net-SSLeay                            x86_64                     1.88-3.fc31                               fedora                      355 k
 perl-PathTools                             x86_64                     3.78-439.fc31                             fedora                       86 k
 perl-Pod-Escapes                           noarch                     1:1.07-439.fc31                           fedora                       20 k
 perl-Pod-Perldoc                           noarch                     3.28.01-442.fc31                          fedora                       85 k
 perl-Pod-Simple                            noarch                     1:3.39-2.fc31                             fedora                      214 k
 perl-Pod-Usage                             noarch                     4:1.69-439.fc31                           fedora                       32 k
 perl-Scalar-List-Utils                     x86_64                     3:1.52-439.fc31                           fedora                       66 k
 perl-Socket                                x86_64                     4:2.029-4.fc31                            fedora                       56 k
 perl-Storable                              x86_64                     1:3.15-441.fc31                           fedora                       97 k
 perl-Term-ANSIColor                        noarch                     4.06-440.fc31                             fedora                       44 k
 perl-Term-Cap                              noarch                     1.17-439.fc31                             fedora                       22 k
 perl-Text-ParseWords                       noarch                     3.30-439.fc31                             fedora                       16 k
 perl-Text-Tabs+Wrap                        noarch                     2013.0523-439.fc31                        fedora                       23 k
 perl-Time-Local                            noarch                     2:1.280-439.fc31                          fedora                       32 k
 perl-URI                                   noarch                     1.76-5.fc31                               fedora                      108 k
 perl-Unicode-Normalize                     x86_64                     1.26-439.fc31                             fedora                       97 k
 perl-constant                              noarch                     1.33-440.fc31                             fedora                       23 k
 perl-interpreter                           x86_64                     4:5.30.0-446.fc31                         fedora                      6.1 M
 perl-libnet                                noarch                     3.11-440.fc31                             fedora                      117 k
 perl-libs                                  x86_64                     4:5.30.0-446.fc31                         fedora                      1.7 M
 perl-macros                                x86_64                     4:5.30.0-446.fc31                         fedora                       21 k
 perl-parent                                noarch                     1:0.237-439.fc31                          fedora                       14 k
 perl-podlators                             noarch                     1:4.12-2.fc31                             fedora                      113 k
 perl-threads                               x86_64                     1:2.22-439.fc31                           fedora                       58 k
 perl-threads-shared                        x86_64                     1.60-440.fc31                             fedora                       44 k
 MariaDB-client                             x86_64                     10.4.8-1.fc30                             mariadb                      11 M
 MariaDB-common                             x86_64                     10.4.8-1.fc30                             mariadb                      81 k
 galera-4                                   x86_64                     26.4.2-1.fc30.fc30                        mariadb                      14 M
Installing weak dependencies:
 perl-IO-Socket-IP                          noarch                     0.39-440.fc31                             fedora                       42 k
 perl-IO-Socket-SSL                         noarch                     2.066-6.fc31                              fedora                      239 k
 perl-Mozilla-CA                            noarch                     20180117-6.fc31                           fedora                       12 k

Transaction Summary
===================================================================================================================================================
Install  51 Packages

Total download size: 64 M
Installed size: 237 M
Downloading Packages:</code></pre>
<h2>Step 4: Configure MariaDB service on Fedora 31/30/29</h2>
<p>After installation of MariaDB 10.4 on Fedora 31/30/29, start the service and set it to start at system boot.</p>
<pre class="wp-block-code"><code>sudo systemctl enable --now mariadb</code></pre>
<p>Check service status:</p>
<pre class="wp-block-code"><code>$ systemctl status mariadb
● mariadb.service - MariaDB 10.4.8 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf
   Active: active (running) since Sun 2019-11-03 07:13:45 UTC; 8s ago
     Docs: man:mysqld(8)
           <a class="vglnk" href="https://mariadb.com/kb/en/library/systemd/" rel="nofollow">https://mariadb.com/kb/en/library/systemd/</a>
  Process: 3671 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 3672 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &amp;&amp; VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   &amp;&amp; systemctl&gt;
  Process: 3712 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
 Main PID: 3681 (mysqld)
   Status: "Taking your SQL requests now..."
    Tasks: 30 (limit: 2345)
   Memory: 63.2M
      CPU: 189ms
   CGroup: /system.slice/mariadb.service
           └─3681 /usr/sbin/mysqld

Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] InnoDB: 10.4.8 started; log sequence number 139827; transac&gt;
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] Plugin 'FEEDBACK' is disabled.
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffe&gt;
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] Server socket created on IP: '::'.
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] InnoDB: Buffer pool(s) load completed at 191103  7:13:45
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] Reading of all Master_info entries succeeded
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] Added new Master_info '' to hash table
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: 2019-11-03  7:13:45 0 [Note] /usr/sbin/mysqld: ready for connections.
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> mysqld[3681]: Version: '10.4.8-MariaDB'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Serv&gt;
Nov 03 07:13:45 <a class="vglnk" href="http://fed31.computingforgeeks.com/" rel="nofollow">fed31.computingforgeeks.com</a> systemd[1]: Started MariaDB 10.4.8 database server.</code></pre>
<p>Harden you MariaDB server installation.</p>
<pre class="wp-block-code"><code>$ sudo mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

Setting the root password or using the unix_socket ensures that nobody
can log into the MariaDB root user without the proper authorisation.

You already have your root account protected, so you can safely answer 'n'.

Switch to unix_socket authentication [Y/n] Y
Enabled successfully!
Reloading privilege tables..
 ... Success!


You already have your root account protected, so you can safely answer 'n'.

Change the root password? [Y/n] Y
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] Y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] Y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] Y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] Y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!</code></pre>
<p>Use the root user and password set to access MariaDB shell:</p>
<pre class="wp-block-code"><code>$ mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 10.4.8-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</code></pre>
<p>Version installed can be checked from the DB shell.</p>
<pre class="wp-block-code"><code>MariaDB [(none)]&gt; SELECT VERSION();
+----------------+
| VERSION()      |
+----------------+
| 10.4.8-MariaDB |
+----------------+
1 row in set (0.000 sec)</code></pre>
<p>This confirms successful installation of MariaDB 10.4 on Fedora 31/30/29 Linux system.</p>
<p>The post <a href="http://kostacipo.stream/master-the-art-of-choosing-the-right-gift/">How To Install MariaDB 10.4 on Fedora 31/30/29</a> appeared first on <a href="http://kostacipo.stream">Tech Chronicles</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://kostacipo.stream/master-the-art-of-choosing-the-right-gift/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
