<?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>MySQL Tutorial - Learn MySQL Fast, Easy with example - Atcodex</title>
	<atom:link href="https://atcodex.com/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>https://atcodex.com/mysql/</link>
	<description>Achieve financial success without sacrificing well-being! AtCodex provides actionable strategies for managing money, time, and personal growth—all in one place.</description>
	<lastBuildDate>Sun, 12 Sep 2021 05:40:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://atcodex.com/wp-content/uploads/2020/05/cropped-New-Project-1-32x32.png</url>
	<title>MySQL Tutorial - Learn MySQL Fast, Easy with example - Atcodex</title>
	<link>https://atcodex.com/mysql/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Increase Automatic Logout Time In phpMyAdmin</title>
		<link>https://atcodex.com/php/how-to-increase-automatic-logout-time-in-phpmyadmin/</link>
		
		<dc:creator><![CDATA[atcodex]]></dc:creator>
		<pubDate>Sun, 12 Sep 2021 04:54:14 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://atcodex.com/?p=1467</guid>

					<description><![CDATA[<p>In this tutorial, we will learn how to increase automatic logout time in the PHPMyAdmin. PHPMyAdmin is an open-source web-based application that provides a graphical interface for MySQL or MariaDB &#8230; </p>
<p>The post <a href="https://atcodex.com/php/how-to-increase-automatic-logout-time-in-phpmyadmin/">How To Increase Automatic Logout Time In phpMyAdmin</a> appeared first on <a href="https://atcodex.com">AtCodex: Empowering Your Financial Journey &amp; Personal Well-Being</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, we will learn how to increase automatic logout time in the PHPMyAdmin.  PHPMyAdmin is an open-source web-based application that provides a graphical interface for MySQL or MariaDB databases. We all have been using PHPMyAdmin since we have started working with MySQL. it provides easy user interface for work on. </p>



<p>Sometimes we would have noticed that in  PHPMyAdmin we automatically logouts after some idle time. And then we need to again log in to use the system. Default idle time to log out is around 1440 seconds in PHPMyAdmin and you will see the error message of &#8221; <strong>No activity within 1440 seconds; please log in again.</strong> &#8221; Below is the screenshot for the same.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="449" height="511" src="https://atcodex.com/wp-content/uploads/2021/09/automatic-logout-1.png" alt="" class="wp-image-1472" srcset="https://atcodex.com/wp-content/uploads/2021/09/automatic-logout-1.png 449w, https://atcodex.com/wp-content/uploads/2021/09/automatic-logout-1-264x300.png 264w" sizes="(max-width: 449px) 100vw, 449px" /></figure>



<p>When this kind of screen appears so you need to log in to continue work on PHPMyAdmin. When this happens again and again then it becomes very irritating and sometimes hampers the work. </p>



<p>In order to bypass this issue, we have to increase the logout time in the PHPMyAdmin panel.</p>



<p>We can achieve this by following simple steps;</p>



<p>First open /etc/phpmyadmin/config.inc.php setting file to nano editor. You can open the file with the below command.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo nano /etc/phpmyadmin/config.inc.php</pre>



<p>And search for the below line or word using shortcut&nbsp;<strong>CTRL + W</strong>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">['LoginCookieValidity']</pre>



<p>If you did not find the above line, you need to add the below mentioned line in the file, or if you found the above line just edit that as given below.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">$cfg['LoginCookieValidity'] = 43200; // 24 hours</pre>



<p>The&nbsp;<strong>$cfg[&#8216;LoginCookieValidity&#8217;]</strong>&nbsp;defines how many seconds login cookie is valid.  You can set it as per your convenience if you want to increase the logout time more you can simply put the higher value there.</p>



<p>Now save and exit the file. You also need to check the PHP configuration option&nbsp;<strong>session.gc_maxlifetime</strong>&nbsp;at least or more than the value of&nbsp;<strong>$cfg[&#8216;LoginCookieValidity&#8217;]</strong>. So, you might need to set the&nbsp;<strong>session.gc_maxlifetime</strong>&nbsp;n&nbsp;<strong>/etc/php/8.0/apache2/php.ini</strong>&nbsp;configuration file in Ubuntu.</p>



<p><strong>Note</strong>:&nbsp;You may be using a different version than 8.0. So your path should be like&nbsp;<strong>/etc/php/&lt;version.subversion&gt;/apache2/php.ini</strong></p>



<p>To check which php.ini file exactly using, create info.php file in /var/www/html and print fileinfo() function.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">phpinfo();</pre>



<p>Now open&nbsp;<strong>http://localhost/info.php</strong>&nbsp;in the browser and search for the line&nbsp;<strong>Loaded Configuration File</strong>.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="933" height="26" src="https://atcodex.com/wp-content/uploads/2021/09/how-to-increase-automatic-logout-time-in-phpmyadmin.png" alt="" class="wp-image-1468" srcset="https://atcodex.com/wp-content/uploads/2021/09/how-to-increase-automatic-logout-time-in-phpmyadmin.png 933w, https://atcodex.com/wp-content/uploads/2021/09/how-to-increase-automatic-logout-time-in-phpmyadmin-300x8.png 300w, https://atcodex.com/wp-content/uploads/2021/09/how-to-increase-automatic-logout-time-in-phpmyadmin-768x21.png 768w, https://atcodex.com/wp-content/uploads/2021/09/how-to-increase-automatic-logout-time-in-phpmyadmin-600x17.png 600w" sizes="(max-width: 933px) 100vw, 933px" /></figure>



<p>If you don&#8217;t want to change this file, you may change the php.ini configuration runtime for phpMyAdmin only. PHP allows to change configurations using&nbsp;<strong>ini_set()</strong>&nbsp;function.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">$session_timeout = 43200; // 24 hours
ini_set('session.gc_maxlifetime', $session_timeout);
$cfg['LoginCookieValidity'] = $session_timeout;</pre>



<p>So, this way you can change the automatic logout time in phpMyAdmin. I hope this tutorial will help you find a solution.</p>



<p>You can check other tutorials related to PHPMyAdmin </p>



<p><a href="https://atcodex.com/how-to/how-to-import-csv-file-into-phpmyadmin/" target="_blank" rel="noreferrer noopener">How to import CSV file into PHPMyAdmin</a></p>



<p><a href="https://atcodex.com/cpanel/how-to-back-up-a-mysql-database-in-cpanel/" target="_blank" rel="noreferrer noopener">How to Back Up a MySQL Database in cPanel</a></p>



<p></p>



<p></p>
<p>The post <a href="https://atcodex.com/php/how-to-increase-automatic-logout-time-in-phpmyadmin/">How To Increase Automatic Logout Time In phpMyAdmin</a> appeared first on <a href="https://atcodex.com">AtCodex: Empowering Your Financial Journey &amp; Personal Well-Being</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Back Up a MySQL Database in cPanel</title>
		<link>https://atcodex.com/blog/cpanel/how-to-back-up-a-mysql-database-in-cpanel/</link>
		
		<dc:creator><![CDATA[atcodex]]></dc:creator>
		<pubDate>Tue, 30 Jun 2020 06:36:57 +0000</pubDate>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<guid isPermaLink="false">https://atcodex.com/?p=189</guid>

					<description><![CDATA[<p>Database is a core part of any project so its mandatory to keep it safe and for this, we have to take its backup on time to time. We can &#8230; </p>
<p>The post <a href="https://atcodex.com/blog/cpanel/how-to-back-up-a-mysql-database-in-cpanel/">How to Back Up a MySQL Database in cPanel</a> appeared first on <a href="https://atcodex.com">AtCodex: Empowering Your Financial Journey &amp; Personal Well-Being</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p> Database is a core part of any project so its mandatory to keep it safe and for this, we have to take its backup on time to time. We can easily perform this activity in cPanel to keep our database safe. </p>



<p>cPanel gives you options to an export database in SQL, CSV, JSON, PDF, PHP array, text, XML, and in many more formats. Just follow the given steps to export the MySQL database from cPanel.</p>



<p>1. Log into your&nbsp;<strong>cPanel</strong>&nbsp;account.</p>



<p>2. Scroll down or search &#8220;<strong>phpMyAdmin</strong>&#8221;  and click<strong>.</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" width="893" height="216" src="https://atcodex.com/wp-content/uploads/2020/06/1-14.png" alt="" class="wp-image-326" srcset="https://atcodex.com/wp-content/uploads/2020/06/1-14.png 893w, https://atcodex.com/wp-content/uploads/2020/06/1-14-300x73.png 300w, https://atcodex.com/wp-content/uploads/2020/06/1-14-768x186.png 768w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<p></p>



<p>3. In phpMyAdmin, choose the database you wish to backup from the list in the left side panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="693" height="425" src="https://atcodex.com/wp-content/uploads/2020/06/2-12.png" alt="" class="wp-image-327" srcset="https://atcodex.com/wp-content/uploads/2020/06/2-12.png 693w, https://atcodex.com/wp-content/uploads/2020/06/2-12-300x184.png 300w" sizes="(max-width: 693px) 100vw, 693px" /></figure>



<p>4. After selection, click on the <strong>Export tab</strong> at top of the page</p>



<p>5. In the Export page, select the&nbsp;<strong>Quick Export</strong>&nbsp;option and keep the format as&nbsp;<strong>SQL</strong> and  click on <strong>Go</strong>.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://atcodex.com/wp-content/uploads/2020/06/3-8.png" alt="" class="wp-image-328" width="607" height="427" srcset="https://atcodex.com/wp-content/uploads/2020/06/3-8.png 607w, https://atcodex.com/wp-content/uploads/2020/06/3-8-300x211.png 300w" sizes="(max-width: 607px) 100vw, 607px" /></figure>



<p>6. When you click&nbsp;<strong>Go</strong>,  your database backup gets created and downloaded in your local machine. Save it in a safe folder for future use. You can later import it into any database for use.</p>



<p>Hope this tutorial will help you. You can also  check <a href="https://atcodex.com/how-to/how-to-import-csv-file-into-phpmyadmin/">How to import CSV file into PHPMyAdmin</a>.</p>
<p>The post <a href="https://atcodex.com/blog/cpanel/how-to-back-up-a-mysql-database-in-cpanel/">How to Back Up a MySQL Database in cPanel</a> appeared first on <a href="https://atcodex.com">AtCodex: Empowering Your Financial Journey &amp; Personal Well-Being</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
