<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Tag: MySQL - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/mysql</link>
		<description>Gravity Support Forums Tag: MySQL - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:34:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/tags/mysql" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-370085</link>
			<pubDate>Tue, 09 Jul 2013 03:32:17 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">370085@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am glad you have found a workaround.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rysen2888 on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-370013</link>
			<pubDate>Tue, 09 Jul 2013 03:07:17 +0000</pubDate>
			<dc:creator>rysen2888</dc:creator>
			<guid isPermaLink="false">370013@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I installed wordpress database ping plugin and it seems to have stopped it for now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-367482</link>
			<pubDate>Mon, 08 Jul 2013 03:21:37 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">367482@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You might try &#60;a href=&#34;http://www.techmesto.com/solving-wordpress-mysql-gone-error/&#34; rel=&#34;nofollow&#34;&#62;http://www.techmesto.com/solving-wordpress-mysql-gone-error/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rysen2888 on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-367429</link>
			<pubDate>Mon, 08 Jul 2013 02:45:09 +0000</pubDate>
			<dc:creator>rysen2888</dc:creator>
			<guid isPermaLink="false">367429@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Oh okay thanks.&#60;/p&#62;
&#60;p&#62;Spoke to host and they said that there is nothing wrong with the mysql on their end&#60;/p&#62;
&#60;p&#62;Do you have any other alternate solutions to fix the issue&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-362703</link>
			<pubDate>Fri, 05 Jul 2013 03:00:06 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">362703@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Sorry to hear about your problem, unfortunately those errors are beyond Gravity Forms control.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;WordPress database error: [MySQL server has gone away]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;WordPress is having problems connecting to the MySQL host, that is something only your web host can help you resolve.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rysen2888 on "Gravity forms on install - Wordpress database error: mysql has gone away"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-forms-on-install-wordpress-database-error-mysql-has-gone-away#post-362146</link>
			<pubDate>Thu, 04 Jul 2013 21:10:11 +0000</pubDate>
			<dc:creator>rysen2888</dc:creator>
			<guid isPermaLink="false">362146@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I just tried installing gravity forms, but once i clicked activate i got Wordpress database error: mysql has gone away.&#60;/p&#62;
&#60;p&#62;I then click on pages, and everything is gone. I have to delete the plugin to see the pages/posts again and it really makes admin slow down and lag&#60;/p&#62;
&#60;p&#62;Here is a screenshot for the error.&#60;br /&#62;
&#60;a href=&#34;http://i.imgur.com/6S0wgqk.png&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/6S0wgqk.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Ive tried deleting and reinstalling, tho the error isnt showing anymore but it still removes all posts/pages until i re delete the plugin.&#60;/p&#62;
&#60;p&#62;Any help much appreciated&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Using mysqli_real_escape_string with gform_after_submission and a mySQL database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-mysqli_real_escape_string-with-gform_after_submission-and-a-mysql-database#post-360257</link>
			<pubDate>Wed, 03 Jul 2013 15:22:25 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">360257@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Andrew, thanks for sharing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andrew carbn on "Using mysqli_real_escape_string with gform_after_submission and a mySQL database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-mysqli_real_escape_string-with-gform_after_submission-and-a-mysql-database#post-360247</link>
			<pubDate>Wed, 03 Jul 2013 15:20:31 +0000</pubDate>
			<dc:creator>andrew carbn</dc:creator>
			<guid isPermaLink="false">360247@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anybody who is interested, here is the final code which is tested and working:&#60;/p&#62;
&#60;p&#62;ORIGINAL EXAMPLE CODE:&#60;br /&#62;
*************************************************************************************&#60;br /&#62;
add_action(&#34;gform_after_submission_1&#34;, &#34;push_fields&#34;, 10, 2);&#60;br /&#62;
function push_fields($entry, $form){&#60;/p&#62;
&#60;p&#62;$uploaderName = $entry[&#34;1&#34;];&#60;br /&#62;
$venueName = $entry[&#34;2&#34;];&#60;br /&#62;
$uploaderEmail = $entry[&#34;3&#34;];&#60;/p&#62;
&#60;p&#62;$con=mysqli_connect(&#34;$DB_HOST&#34;,&#34;$DB_USER&#34;,&#34;$DB_PASSWORD&#34;,&#34;$DB_NAME&#34;);&#60;br /&#62;
mysqli_query($con,&#34;INSERT INTO $TABLE_NAME&#60;br /&#62;
(uploaderName, venueName, uploaderEmail)&#60;br /&#62;
VALUES&#60;br /&#62;
('$uploaderName', '$venueName', '$uploaderEmail')&#34;);&#60;br /&#62;
}&#60;br /&#62;
*************************************************************************************&#60;/p&#62;
&#60;p&#62;NEW CODE USING mysqli_real_escape_string via $wpdb:&#60;br /&#62;
!!!!! Note re-ordering of SQL login details in line 9 below !!!!!!&#60;br /&#62;
!!!!! DO NOT add or remove any double or single quotes !!!!!!&#60;br /&#62;
*************************************************************************************&#60;br /&#62;
add_action(&#34;gform_after_submission_1&#34;, &#34;push_fields&#34;, 10, 2);&#60;br /&#62;
function push_fields($entry, $form){&#60;/p&#62;
&#60;p&#62;$uploaderName = $entry[&#34;1&#34;];&#60;br /&#62;
$venueName = $entry[&#34;2&#34;];&#60;br /&#62;
$uploaderEmail = $entry[&#34;3&#34;];&#60;/p&#62;
&#60;p&#62;global $wpdb;&#60;br /&#62;
$con = new wpdb (&#34;$DB_USER&#34;, &#34;$DB_PASSWORD&#34;, &#34;$DB_NAME&#34;, &#34;$DB_HOST&#34;);&#60;br /&#62;
$con-&#38;gt;show_errors();&#60;br /&#62;
$con-&#38;gt;INSERT('$TABLE_NAME',&#60;br /&#62;
array(&#60;br /&#62;
'uploaderName'=&#38;gt;$uploaderName,&#60;br /&#62;
'venueName'=&#38;gt;$venueName,&#60;br /&#62;
'uploaderEmail'=&#38;gt;$uploaderEmail,&#60;br /&#62;
),&#60;br /&#62;
array(&#60;br /&#62;
'%s','%s','%s'&#60;br /&#62;
)&#60;br /&#62;
);&#60;br /&#62;
}&#60;br /&#62;
*************************************************************************************
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Using mysqli_real_escape_string with gform_after_submission and a mySQL database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-mysqli_real_escape_string-with-gform_after_submission-and-a-mysql-database#post-344251</link>
			<pubDate>Tue, 25 Jun 2013 12:15:45 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">344251@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It is because that method will do the escaping for you. As long as you are using the methods from $wpdb, you don't have to worry about escaping. That is the beauty of it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andrew carbn on "Using mysqli_real_escape_string with gform_after_submission and a mySQL database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-mysqli_real_escape_string-with-gform_after_submission-and-a-mysql-database#post-344190</link>
			<pubDate>Tue, 25 Jun 2013 11:22:52 +0000</pubDate>
			<dc:creator>andrew carbn</dc:creator>
			<guid isPermaLink="false">344190@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks.&#60;br /&#62;
I've had a look at that page and something is not making sense to me.&#60;br /&#62;
Under the section &#34;INSERT rows&#34; is says &#34;Both $data columns and $data values should be &#34;raw&#34; (neither should be SQL escaped).&#34;&#60;br /&#62;
Is this because I am &#34;inserting&#34; data, and the danger is only when I am &#34;querying&#34; the data?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
