<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Perl</title>
        <description>Forum for MySQL and Perl.</description>
        <link>https://forums.mysql.com/list.php?51</link>
        <lastBuildDate>Thu, 14 May 2026 09:57:08 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?51,741414,741414#msg-741414</guid>
            <title>WARNING: MYSQL_OPT_RECONNECT (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,741414,741414#msg-741414</link>
            <description><![CDATA[ Howdy All,<br />
<br />
Running Alma9<br />
&gt; mysql -V<br />
mysql  Ver 15.1 Distrib 10.5.29-MariaDB, for Linux (x86_64) using  EditLine wrapper<br />
<br />
I am NOT a mysql/mariadb guru<br />
<br />
I have a perl script run via a cron job that takes data from a solar array every 10 minutes and plugs it into a mariadb database. <br />
Starting ~ the first week of November there was an update/upgrade of Alma9 and there after the script, while still working fine and taking the data, started throwing and error message from the cron job that says<br />
<br />
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future<br />
version<br />
<br />
This was an old message and problem back in ~2023 but searching around I see nothing about it recently. Clearly it is just a warning, but I could find nothing about what is needed to be changed in my code. Given the info on the warning message I think it relates to how one makes the connection to the db. The relevant lines in my file where I make the connection are<br />
<br />
---------------<br />
use strict;<br />
use warnings;<br />
use DBI;<br />
#use CGI;<br />
use Device::SerialPort;<br />
use lib &#039;/usr/local/solar-web_monitor/cgi-bin&#039;;<br />
use localvars;<br />
<br />
my $db = DBI-&gt;connect (&quot;DBI:mysql:$mysql_db:$mysql_host&quot;, $mysql_user, $mysql_passwd, {RaiseError =&gt; 1})&gt;<br />
#<br />
-----------------<br />
<br />
Any info as to how to change this, or where to look elsewhere in my code, so as to kill off the warning message is appreciated.]]></description>
            <dc:creator>Alan Dunwell</dc:creator>
            <category>Perl</category>
            <pubDate>Sun, 23 Nov 2025 19:44:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,726604,726604#msg-726604</guid>
            <title>authentication from .cgi scripts (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,726604,726604#msg-726604</link>
            <description><![CDATA[ Howdy Gang,<br />
New forum user here so let me know if I do anything off protocol.<br />
<br />
I&#039;m migrating some perl scripts from a CentOS7 machine to Alma9 and of course mysql/mariadb is a more recent version (10.5.22) and uses the new non-password type logins. Many of the .pl scripts are called from <br />
   /var/spool/cron/root<br />
so of course they run even though the original scripts reference root@localhost and give a password. Since it is root runing the script it just ignores the PW bit.<br />
<br />
However I also have .cgi scripts that use the same sort of DBI-&gt;connect type line for DB login. These script are getting run from a web page that runs the script and now it isn&#039;t root running the script and the login fails. In<br />
   /var/log/httpd/error_log I see lines like<br />
  <br />
[cgid:error] [pid 33953:tid 34123] [client 192.168.1.10:62362] DBI connect(&#039;xantrex:localhost&#039;,&#039;root&#039;,...) failed: Access denied for user &#039;root&#039;@&#039;localhost&#039; at /usr/local/solar-web_monitor/cgi-bin/power_graph.cgi line 26.: /usr/local/solar-web_monitor/cgi-bin/power_graph.cgi<br />
<br />
{I did not see a way to post code in a box here, please advise on that}<br />
<br />
Line 26 is the DBI-&gt;connect line with the creds. Does anyone know the proper way to configure mysql/mariadb to be able to pass login credentials? I saw some references to mods to my.cnf to do <br />
   skip-networking+0<br />
   skip-bind-address<br />
but was leery of that for maybe security reasons, not sure.<br />
<br />
Please advise,<br />
Alan D.]]></description>
            <dc:creator>Alan Dunwell</dc:creator>
            <category>Perl</category>
            <pubDate>Sun, 29 Sep 2024 20:00:48 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,723389,723389#msg-723389</guid>
            <title>Impact of creating calculated fields in Workday (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,723389,723389#msg-723389</link>
            <description><![CDATA[ What is the impact of creating calculated fields in Workday Will it make Workday slower, if this is slower how we can avoid to make some changes specially for integration ?<br />
<br />
Is it better to have a report based calculated fields. If Yes, then will it impact on the report only ?<br />
<br />
Is Workday doesn&#039;t calculated field OR they have any special recommendation on this ?]]></description>
            <dc:creator>krishna Manohar</dc:creator>
            <category>Perl</category>
            <pubDate>Wed, 20 Mar 2024 10:05:28 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,707405,707405#msg-707405</guid>
            <title>Strawberry Perl and TLS 1.2 connection error with DBD::mysql (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,707405,707405#msg-707405</link>
            <description><![CDATA[ My company currently relies on ActivePerl for windows implementations, but are trying out Strawberry Perl. The only real problem we have hit is accessing MySQL when TLS 1.2 is required. We get the error &quot;Can&#039;t connect to DB: TLS version used does not meet minimal requirements for this server. Please use a higher TLS version and retry&quot;.<br />
<br />
The database I am trying to connect to is an Azure MySQL database that has a minimum of TLS 1.2 set.<br />
<br />
Here is the test app I&#039;m using as my test case:<br />
<br />
#!/usr/bin/perl<br />
<br />
use DBI;<br />
<br />
my $ssl = 1; ## 1 = on, 0 = off<br />
<br />
my $driver=&#039;mysql&#039;;<br />
my $database = &#039;testdatabase&#039;;<br />
my $hostname = &#039;&lt;host&gt;&#039;;<br />
my $port = &#039;3306&#039;;<br />
my $dbuid = &#039;&lt;user&gt;&#039;;<br />
my $dbpwd = &#039;&lt;password&gt;&#039;;<br />
<br />
#DBI-&gt;trace(15);<br />
if ($ssl == 1) {<br />
    $dbh = DBI-&gt;connect(&quot;DBI:$driver:$database;host=$hostname;port=$port&quot;,&quot;$dbuid&quot;,&quot;$dbpwd&quot;, {RaiseError =&gt; 0, mysql_ssl =&gt; 1, mysql_ssl_optional =&gt; 1}) or die (&quot;Can&#039;t connect to DB: $DBI::errstr&quot;);    <br />
}<br />
elsif ($ssl == 0) {<br />
    $dbh = DBI-&gt;connect(&quot;DBI:$driver:$database:$hostname&quot;,&quot;$dbuid&quot;,&quot;$dbpwd&quot;, {RaiseError =&gt; 0}) or die (&quot;Can&#039;t connect to DB: $DBI::errstr&quot;);<br />
}<br />
<br />
<br />
print qq~<br />
Connection Successful!<br />
~;<br />
<br />
I&#039;ve confirmed that if I setup the Azure MySQL instance to allow TLS 1.0 or TSL 1.1, the test program connects successfully, just not when TLS 1.2 is required (which is a regulatory requirement in this case).<br />
<br />
I&#039;ve tried Windows 2016 and 2019 to no avail and I&#039;m using the latest version of Strawberry available. I can connect to another database with SSL disabled, so I know DBD::mysql is there and usable.<br />
<br />
I have tried to specifically enable TLS 1.2 in the registry. My understanding is that is not necessary anymore for later versions of Windows, and that did not resolve the issue.<br />
<br />
I&#039;m at a loss and not sure how to get this working.]]></description>
            <dc:creator>sesame technologies</dc:creator>
            <category>Perl</category>
            <pubDate>Fri, 03 Feb 2023 05:33:06 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,704146,704146#msg-704146</guid>
            <title>Can&#039;t display comment for table index (3 replies)</title>
            <link>https://forums.mysql.com/read.php?51,704146,704146#msg-704146</link>
            <description><![CDATA[ I created a table as follows<br />
<br />
CREATE TABLE contacts(<br />
    contact_id INT AUTO_INCREMENT,<br />
    first_name VARCHAR(100) NOT NULL,<br />
    last_name VARCHAR(100) NOT NULL,<br />
    email VARCHAR(100),<br />
    phone VARCHAR(20),<br />
    PRIMARY KEY(contact_id),<br />
    UNIQUE(email),<br />
    INDEX phone(phone) INVISIBLE,<br />
    INDEX name(first_name, last_name) comment &#039;By first name and/or last name&#039;<br />
);<br />
<br />
When I run a query to retrieve the info for the index the comment is not displayed.<br />
<br />
select index_schema,<br />
       index_name,<br />
       group_concat(column_name order by seq_in_index) as index_columns,<br />
       index_type,<br />
       case non_unique<br />
            when 1 then &#039;Not Unique&#039;<br />
            else &#039;Unique&#039;<br />
            end as is_unique,<br />
        table_name,<br />
		comment<br />
from information_schema.statistics<br />
where table_schema not in (&#039;information_schema&#039;, &#039;mysql&#039;,<br />
                           &#039;performance_schema&#039;, &#039;sys&#039;)<br />
and table_name = &#039;contacts&#039;<br />
group by index_schema,<br />
         index_name,<br />
         index_type,<br />
         non_unique,<br />
         table_name,<br />
		 comment<br />
order by index_schema,<br />
         index_name;<br />
<br />
<br />
Why can&#039;t I retrieve the comment associated with the index ?]]></description>
            <dc:creator>barry kimelman</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 26 Apr 2022 21:50:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,683969,683969#msg-683969</guid>
            <title>Perl performance with mysql (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,683969,683969#msg-683969</link>
            <description><![CDATA[ I am far from an expert, knowledgable enough only to get myself into trouble usually.    But here is my situation. <br />
<br />
I have a perl script that I&#039;ve written and it&#039;s running fine on a Windows 2012 server with Active State Perl 5.16.1 and a mysql server v5.5.28 and has been running fine for years.   A data query completes in less than a second and the web interface is very responsive.  <br />
<br />
I upgraded computers and moved this to a Windows 10 machine that&#039;s much faster.<br />
<br />
On the new server, a database query takes about 45-55 seconds to complete.   Does not time-out but takes forever to complete.   Static pages load fine.   I&#039;m able to access the mysql database using Heidisql quickly as well.<br />
<br />
I installed the latest version of Active State Perl, then Strawberry Perl, the latest version of mySql server and then the v5.5.28 mysql server <br />
<br />
When I point the perl script from the new server to the old server running mysql, it still takes forever to complete so I think it&#039;s a perl problem but not really a coding problem but maybe a dbi:mysql installation problem?<br />
<br />
When I installed Perl (both Active State and Strawberry) neither came with DBI:MYSQL working, I had to copy copy C:\strawberry\c\bin\libmysql_.dll to C:\strawberry\perl\vendor\lib\auto\DBD\mysql\libmysql_.dll to get connected at all. <br />
<br />
I&#039;ve found online that a Microsoft update changed the locations theat DLL&#039;s are searched for which is why that file was moved.   But the program still runs very slowly against the new database and old.  <br />
<br />
I&#039;ve added the DBI:MYSQL module to the active state download but it does not connect properly as installed. <br />
<br />
I&#039;m really at a loss and any suggestions would be appreciated.    <br />
<br />
Thank you.]]></description>
            <dc:creator>James Barton</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 28 Jan 2020 00:49:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,678055,678055#msg-678055</guid>
            <title>Problem with upgrade 5.6 to 5.7 (2 replies)</title>
            <link>https://forums.mysql.com/read.php?51,678055,678055#msg-678055</link>
            <description><![CDATA[ My server company told me that I needed to upgrade MySQL 5.6 to 5.7. <br />
<br />
My site is a small auction for the commercial fishing industry. The main program for the site is written in Perl and operates in cgi-bin. In the beginning I added code to store sales data in a MySQL database. The site has been up and running since 2011. No problems until the upgrade.<br />
<br />
The following is the code used to insert sales records in the database:<br />
<br />
##### connect to database<br />
my $dbh = DBI-&gt;connect(&quot;DBI:mysql:$db:$server&quot;, $userid, $passwd);<br />
<br />
##### prepare and execute query<br />
my $query = &quot;INSERT INTO closedauctions (seller, sellerusername, category, title, bids, pounds, description, winningbid, price_per_pound, highbidder, buyerusername, month, day, year, itemnum, filename) VALUES(\&quot;$sellername\&quot;,\&quot;$sellerusername\&quot;,\&quot;$quota\&quot;, \&quot;$category\&quot;, 1, \&quot;$pounds\&quot;, \&quot;$desc\&quot;, \&quot;$buyit\&quot;, \&quot;$price_per_pound\&quot;, \&quot;$buyername\&quot;,\&quot;$buyerusername\&quot;, \&quot;$month\&quot;, \&quot;$day\&quot;, \&quot;$year\&quot;, \&quot;$form{&#039;ITEM&#039;}\&quot;, \&quot;$cat\&quot;)&quot;;<br />
<br />
   <br />
my $sth = $dbh-&gt;prepare($query) || die &quot;Could not prepare SQL statement ... maybe invalid?&quot;;    <br />
<br />
$sth-&gt;execute() || die &quot;Could not execute SQL statement ... maybe invalid?&quot;;<br />
<br />
##### disconnect from database<br />
$dbh-&gt;disconnect;<br />
<br />
The server company told me the upgrade was complete and to test it out. I did and received the following error:Software error:<br />
<br />
[Sat Sep  7 22:51:26 2019] auction.pl: install_driver(mysql) failed: Can&#039;t load &#039;/home/jeffer36/perl5/lib/perl5/x86_64-linux/auto/DBD/mysql/mysql.so&#039; for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 224, &lt;BUYERFILE&gt; line 1715.<br />
[Sat Sep  7 22:51:26 2019] auction.pl:  at (eval 15) line 3.<br />
[Sat Sep  7 22:51:26 2019] auction.pl: Compilation failed in require at (eval 15) line 3, &lt;BUYERFILE&gt; line 1715.<br />
[Sat Sep  7 22:51:26 2019] auction.pl: Perhaps a required shared library or dll isn&#039;t installed where expected<br />
[Sat Sep  7 22:51:26 2019] auction.pl:  at ../auction/buyit.pl line 285.<br />
Compilation failed in require at auction.pl line 21.<br />
<br />
<br />
I reported the error to the server company and was told: <br />
<br />
&quot;Upon further review it appears that the automated process that updates MySql for you did not properly install all MySql modules as expected.  We have force installed those modules for you at this time, however without replication steps we were unable to verify that.  Could you please check to see that things are working as expected?&quot;<br />
<br />
I did another test and received the following error:<br />
<br />
Software error:<br />
<br />
install_driver(mysql) failed: Can&#039;t load &#039;/home/jeffer36/perl5/lib/perl5/x86_64-linux/auto/DBD/mysql/mysql.so&#039; for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 224, &lt;BUYERFILE&gt; line 18.<br />
 at (eval 15) line 3.<br />
Compilation failed in require at (eval 15) line 3, &lt;BUYERFILE&gt; line 18.<br />
Perhaps a required shared library or dll isn&#039;t installed where expected<br />
 at ../auction/buyit.pl line 285.<br />
<br />
<br />
I reported this error to the server company and now I am being told: <br />
<br />
&quot;It does not seem likely that any missing modules in MySQL itself would play in to this, as the error presented indicates that the issue is something cannot access the following file:<br />
<br />
/home/jeffer36/perl5/lib/perl5/x86_64-linux/auto/DBD/mysql/mysql.so<br />
<br />
However that file does exist:<br />
<br />
root@mail [/]# ls -lah /home/jeffer36/perl5/lib/perl5/x86_64-linux/auto/DBD/mysql/mysql.so<br />
-r-xr-xr-x 1 jeffer36 jeffer36 299K May  5  2016 /home/jeffer36/perl5/lib/perl5/x86_64-linux/auto/DBD/mysql/mysql.so*<br />
<br />
MySQL 5.6 and MySQL 5.7 aren&#039;t terribly different in terms of core functionality, and the files changed during the upgrade process wouldn&#039;t have touched user files or (to my knowledge) Perl files on the system.&quot;<br />
<br />
<br />
They are at a loss and so am I. Any suggestions.]]></description>
            <dc:creator>Peter Leipzig</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 10 Sep 2019 15:46:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,675376,675376#msg-675376</guid>
            <title>Perl &amp; MySQL 8.0 (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,675376,675376#msg-675376</link>
            <description><![CDATA[ <a href="https://lefred.be/content/perl-mysql-8-0/"  rel="nofollow">https://lefred.be/content/perl-mysql-8-0/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Perl</category>
            <pubDate>Thu, 06 Jun 2019 14:27:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,674316,674316#msg-674316</guid>
            <title>using load_file() function (1 reply)</title>
            <link>https://forums.mysql.com/read.php?51,674316,674316#msg-674316</link>
            <description><![CDATA[ hi ,<br />
<br />
<br />
my object is to insert image in MySQL table using load_file() <br />
<br />
i want to know how to located file in the server host .]]></description>
            <dc:creator>emna nefzi</dc:creator>
            <category>Perl</category>
            <pubDate>Thu, 25 Apr 2019 03:30:09 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,669845,669845#msg-669845</guid>
            <title>Can&#039;t connect to mysql from MAMP Perl (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,669845,669845#msg-669845</link>
            <description><![CDATA[ Hi,<br />
<br />
I installed the latest version of MAMP.  I am able to connect to mysql with PHP but I want to also connect with Perl.  MAMP says use this template:<br />
<br />
my $user     = &#039;root&#039;;<br />
my $password = &#039;root&#039;;<br />
my $db       = &#039;db&#039;;<br />
<br />
my $link = DBI-&gt;connect(<br />
   &quot;DBI:mysql:database=$db&quot;,<br />
   $user,<br />
   $password<br />
);<br />
<br />
<br />
My database name is actually db.  I get this error:<br />
<br />
install_driver(mysql) failed: Can&#039;t load &#039;C:/MAMP/bin/perl/vendor/lib/auto/DBD/m<br />
ysql/mysql.dll&#039; for module DBD::mysql: load_file:The specified module could not<br />
be found at C:/MAMP/bin/perl/lib/DynaLoader.pm line 190.<br />
 at (eval 6) line 3.<br />
Compilation failed in require at (eval 6) line 3.<br />
Perhaps a required shared library or dll isn&#039;t installed where expected<br />
 at test.pl line 28.<br />
<br />
At someone&#039;s suggestion, I added localhost information to the connect like this:<br />
<br />
my $link = DBI-&gt;connect(<br />
   &quot;DBI:mysql:database=$db:localhost:3306&quot;,<br />
   $user,<br />
   $password<br />
);<br />
<br />
But I get the same error.  And the file it says it can&#039;t find: C:/MAMP/bin/perl/vendor/lib/auto/DBD/mysql/mysql.dll&#039; is there!<br />
<br />
Any help would be appreciated.  Its very frustrating to have spent hours just trying to figure out how to *connect*.  I can&#039;t even get started on real work.  Thanks.]]></description>
            <dc:creator>Richard Nicholas</dc:creator>
            <category>Perl</category>
            <pubDate>Mon, 22 Oct 2018 21:59:30 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,668954,668954#msg-668954</guid>
            <title>ODBC Connector 8.0 and MySQL 5.7.20 - Bad Handshake error (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,668954,668954#msg-668954</link>
            <description><![CDATA[ Using ODBC 8.0 to create linked server for MySQL 5.7.20. There is error message as:<br />
<br />
OLE DB provider &quot;MSDASQL&quot; for linked server &quot;MYSQL&quot; returned message &quot;[MySQL][ODBC 8.0(a) Driver]Bad handshake&quot;.<br />
<br />
Bad handshake took my long time and still not resolved. Let me know if it is product bug.<br />
<br />
Thanks<br />
Neeraj]]></description>
            <dc:creator>Neeraj Yadav</dc:creator>
            <category>Perl</category>
            <pubDate>Thu, 13 Sep 2018 10:14:45 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,650599,650599#msg-650599</guid>
            <title>Problem installing DBD-mysql-4.036 on AIX 7.1 - Unable to load DBD::mysql (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,650599,650599#msg-650599</link>
            <description><![CDATA[ Hi, <br />
<br />
I want to install the DBD-mysql-4.036 on AIX 7.1 with the following commands  : <br />
<br />
perl Makefile.PL =&gt; all seems to be OK <br />
make             =&gt; all seems to be OK <br />
<br />
When i try the &quot;make test&quot;, i have the following message : <br />
<br />
<br />
PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#039;blib/lib&#039;, &#039;blib/arch&#039;)&quot; t/*.tt/00base.t ........................... 1/6 Bailout called.  Further testing stopped:  Unable to load DBD::mysql <br />
<br />
#   Failed test &#039;use DBD::mysql;&#039; <br />
#   at t/00base.t line 15. <br />
#     Tried to use &#039;DBD::mysql&#039;. <br />
#     Error:  Can&#039;t load &#039;/tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so&#039; for module DBD::mysql: rtld: 0712-001 Symbol __PureVirtualCalled was referenced <br />
#       from module /tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so(), but a runtime definition <br />
#       of the symbol was not found. <br />
# rtld: 0712-001 Symbol __ReThrowV6 was referenced <br />
#       from module /tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so(), but a runtime definition <br />
#       of the symbol was not found. <br />
# rtld: 0712-001 Symbol __setUncaughtExceptionFlag__3stdFb was referenced <br />
#       from module /tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so(), but a runtime definition <br />
#       of the symbol was not found. <br />
# rtld: 0712-001 Symbol __dl__FPv was referenced <br />
#       from module /tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so(), but a runtime definition <br />
#       of the symbol was not found. <br />
# rtld: 0712-001 Symbol __UnsupportedConditionalExpressionDestruction__FPvl was referenced <br />
#       from module /tmp/DBI/DBD-mysql-4.036/blib/arch/auto/DBD/mysql/mysql.so() , but a runtime definition <br />
#       of the symbol was not found. at /usr/opt/perl5/lib/5.10.1/aix-thread-multi/DynaLoader.pm line 200. <br />
#  at (eval 8) line 2 <br />
# Compilation failed in require at (eval 8) line 2. <br />
# BEGIN failed--compilation aborted at (eval 8) line 2. <br />
FAILED--Further testing stopped: Unable to load DBD::mysql <br />
make: 1254-004 The error code from the last command is 255. <br />
<br />
Stop. <br />
<br />
<br />
Any suggestion ? <br />
<br />
Best regards <br />
<br />
Philippe]]></description>
            <dc:creator>Philippe Arcudi</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 20 Sep 2016 08:43:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,649957,649957#msg-649957</guid>
            <title>Use of Mysql Sandbox (2 replies)</title>
            <link>https://forums.mysql.com/read.php?51,649957,649957#msg-649957</link>
            <description><![CDATA[ Hello to all <br />
I have been attempting to get just a small replication testing environment set up and I am running into problems. I have mysql-5.5.51-linux2.6-x86_64.tar.gz but when I run make_replication_sandbox mysql-5.5.51-linux2.6-x86_64.tar.gz - it runs and runs builds directories under $SANDBOX_HOME then dies: <br />
installing and starting master <br />
can&#039;t start server <br />
error installing the master <br />
<br />
(512 ) <br />
<br />
I cannot figure this out - I have used sandbox before and have not had this issue. SBDEBUG does not shed a whole of light on the issue. Any help would be most appreciated.]]></description>
            <dc:creator>Joseph Norris</dc:creator>
            <category>Perl</category>
            <pubDate>Wed, 31 Aug 2016 21:09:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,641702,641702#msg-641702</guid>
            <title>Why MySQL use Perl &quot;Data::Dumper&quot; module? (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,641702,641702#msg-641702</link>
            <description><![CDATA[ Hi,<br />
<br />
I noticed that MySQL is unable to be installed in Linux if the Perl &quot;Data::Dumper&quot; module is not pre-installed.<br />
Can you please explain to me, what is the functionality needed for MySQL that require using this module? <br />
Also, Is this &quot;Data::Dumper&quot; module necessarily for MySQL to work after the installation part? I mean, would MySQL continue to work normally even after we remove this module (after we use it to install MySQL)?]]></description>
            <dc:creator>Sami Salami</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 19 Jan 2016 09:34:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,634812,634812#msg-634812</guid>
            <title>Why I can&#039;t insert more than 100,000 rows in a script?(mysql+php) (3 replies)</title>
            <link>https://forums.mysql.com/read.php?51,634812,634812#msg-634812</link>
            <description><![CDATA[ Hi,<br />
<br />
I&#039;m having a script for inserting a number of rows into a mysql table. <br />
it goes something like this <br />
<br />
$i=0; <br />
while ($i&lt;300000) <br />
{ <br />
$x=rand(1,58000); <br />
echo &quot;I&#039;m inserting number $i - amount $x &lt;br /&gt;&quot;; <br />
$query=&quot;INSERT INTO sales (amount) values(&#039;$x&#039;)&quot;; <br />
mysql_query($query) or die(mysql_error()); <br />
$i++; <br />
} <br />
<br />
The script works well , but the problem is that it has a limit of aprox 100,000 rows per call. <br />
Why can&#039;t I insert more than 100,000 rows?Can somebody explain me?]]></description>
            <dc:creator>Bhupendra Chouhan</dc:creator>
            <category>Perl</category>
            <pubDate>Thu, 10 Sep 2015 00:13:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,630890,630890#msg-630890</guid>
            <title>Setting login Payload information (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,630890,630890#msg-630890</link>
            <description><![CDATA[ I tried this snippet of the sample program and captured the information sent via wireshark:<br />
===================================<br />
#!/usr/bin/perl<br />
<br />
use strict;<br />
use warnings;<br />
use DBI;<br />
<br />
# Connect to the database.<br />
my $dbh = DBI-&gt;connect(&quot;DBI:mysql:database=test;host=127.0.0.1&quot;,<br />
                       &quot;joe&quot;, &quot;joe&#039;s password&quot;,<br />
                       {&#039;RaiseError&#039; =&gt; 1});<br />
<br />
# Disconnect from the database.<br />
$dbh-&gt;disconnect();<br />
<br />
exit;<br />
=================================<br />
<br />
In wireshark output I see the login request for Joe and also has a PayLoad section:<br />
<br />
        Username: joe<br />
        Password: eac7451479b75687f0e71e7aa3244870145937be<br />
        Schema: test<br />
    Payload: 6d7973716c5f6e61746976655f70617373776f7264005303...<br />
<br />
In the Payload section is some information regarding the client, specifically:<br />
<br />
client_name libmysql _pid8871<br />
client_version 10.0.17<br />
<br />
Is there a way to set the client name and version to match the application I am writing rather then the library used ?<br />
<br />
In general how do I control the content of the login Payload ?<br />
<br />
Thanks<br />
Chris Kottaridis]]></description>
            <dc:creator>Chris Kottaridis</dc:creator>
            <category>Perl</category>
            <pubDate>Sat, 02 May 2015 15:21:51 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,630114,630114#msg-630114</guid>
            <title>Max_allowed_packet problem (3 replies)</title>
            <link>https://forums.mysql.com/read.php?51,630114,630114#msg-630114</link>
            <description><![CDATA[ Hi All,<br />
<br />
We&#039;re trying to migrate a code base from Solaris to Ubuntu and running into an odd max_allowed_packet problem. We have seen those before long ago and adjusted accordingly in my.cnf to the 1G max. We don&#039;t see this error on the Solaris box nor in the mysql client. We&#039;re running 5.5.41-0ubuntu0.14.04.1 with the latest DBI and DBD::mysql.<br />
<br />
The table definition:<br />
<br />
CREATE TABLE `ME` (<br />
  `url` varchar(255) NOT NULL DEFAULT &#039;&#039;,<br />
  `dltime` int(11) DEFAULT NULL,<br />
  `depth` int(11) DEFAULT NULL,<br />
  `content_type` varchar(128) DEFAULT NULL,<br />
  `body` mediumtext,<br />
  `meta` mediumtext,<br />
  `title` varchar(255) DEFAULT NULL,<br />
  `linktext` varchar(255) DEFAULT &#039;&#039;,<br />
  `visited` datetime DEFAULT NULL,<br />
  `size` int(10) unsigned DEFAULT NULL,<br />
  `descript` text,<br />
  `keywords` text,<br />
  `docroot` varchar(255) DEFAULT NULL,<br />
  `mineid` mediumint(9) NOT NULL DEFAULT &#039;0&#039;,<br />
  `lodeid` mediumint(9) NOT NULL DEFAULT &#039;0&#039;,<br />
  PRIMARY KEY (`url`),<br />
  KEY `visited` (`visited`),<br />
  KEY `linktext` (`linktext`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
<br />
The test code:<br />
#!/usr/local/bin/perl -w<br />
<br />
use DBI;<br />
<br />
my $dbh = DBI-&gt;connect(&quot;dbi:mysql:mill;mysql_read_default_group=mysqld1&quot;, &quot;xxxxxxx&quot;, &quot;xxxxxxxx&quot;) ||<br />
  die &quot;Could not connect to mysql&quot;;<br />
<br />
($var, $max) = $dbh-&gt;selectrow_array(&quot;show variables like &#039;max_allowed_packet&#039;&quot;);<br />
print &quot;$var: $max\n&quot;;<br />
<br />
$bsel = $dbh-&gt;prepare(&quot;select body from ore.ME&quot;);<br />
$ssel = $dbh-&gt;prepare(&quot;select length(body) from ore.ME&quot;);<br />
$ssel-&gt;execute();<br />
$xx = 0;<br />
while ($xx &lt; 10 and ($size) = $ssel-&gt;fetchrow_array()) {<br />
  print &quot;The record I&#039;m about to get is $size characters.\n&quot;;<br />
<br />
  $bsel-&gt;execute();<br />
  ($body) = $bsel-&gt;fetchrow_array;<br />
  print &quot;$body\n&quot;;<br />
  $xx++;<br />
}<br />
<br />
$dbh-&gt;disconnect();<br />
exit(0);<br />
<br />
Group mysqld1 from my.cnf:<br />
<br />
[mysqld1]<br />
pid-file	= /var/run/mysqld/mysqld.pid<br />
socket		= /run/mysqld/mysqld.sock<br />
port		= 3306<br />
basedir		= /usr<br />
datadir		= /var/lib/mysql<br />
tmpdir		= /tmp<br />
lc-messages-dir	= /usr/share/mysql<br />
skip-external-locking<br />
key_buffer_size		= 4G<br />
max_allowed_packet	= 1G<br />
net_buffer_length       = 1M<br />
thread_stack		= 192K<br />
thread_cache_size       = 16<br />
myisam-recover         = BACKUP<br />
myisam_sort_buffer_size = 16M<br />
max_sort_length         = 32M<br />
max_connections        = 160<br />
table_cache            = 512<br />
thread_concurrency     = 16<br />
<br />
And, finally, the beginning of the output we get:<br />
<br />
law@chinacat&gt; testmaxpack<br />
max_allowed_packet: 1073741824<br />
The record I&#039;m about to get is 7991 characters.<br />
DBD::mysql::st execute failed: Got packet bigger than &#039;max_allowed_packet&#039; bytes at ./testmaxpack line 18.<br />
DBD::mysql::st fetchrow_array failed: fetch() without execute() at ./testmaxpack line 19.<br />
Use of uninitialized value $body in concatenation (.) or string at ./testmaxpack line 20.<br />
<br />
The record I&#039;m about to get is 8024 characters.<br />
DBD::mysql::st execute failed: MySQL server has gone away at ./testmaxpack line 18.<br />
DBD::mysql::st fetchrow_array failed: fetch() without execute() at ./testmaxpack line 19.<br />
Use of uninitialized value $body in concatenation (.) or string at ./testmaxpack line 20.<br />
<br />
<br />
We&#039;re baffled by the small record length and the error. Does anyone have ideas on how to figure this one out? Of course, we&#039;re under pressure to fix this asap.<br />
<br />
Thanks for any suggestions!]]></description>
            <dc:creator>Richard Law</dc:creator>
            <category>Perl</category>
            <pubDate>Mon, 08 Jun 2015 00:48:23 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,627851,627851#msg-627851</guid>
            <title>AutoCommit issue (1 reply)</title>
            <link>https://forums.mysql.com/read.php?51,627851,627851#msg-627851</link>
            <description><![CDATA[ Hi, I set autocommit=1 in my perl script, but found the record cannot be inserted. <br />
[root@dhcpc tmp]# cat dbd1.pl <br />
#!/usr/bin/perl<br />
<br />
use DBI;<br />
<br />
    my $dbh = DBI-&gt;connect( &quot;DBI:mysql:database=test;host=localhost&quot;, &quot;root&quot;, &quot;123456&quot;, { &#039;RaiseError&#039; =&gt; 1, AutoCommit =&gt; 1 } );<br />
    my $sql =qq{insert into test(name, id) values(&#039;hello &#039;, 2)};<br />
    $dbh-&gt;do($sql);<br />
<br />
    my $query = $dbh-&gt;prepare(&quot;SELECT name FROM test&quot;);<br />
    $query-&gt;execute();<br />
<br />
    while ( $ary = $query-&gt;fetchrow_arrayref() ) {<br />
        print (  $ary-&gt;[0] . &quot;\n&quot;);<br />
    }<br />
<br />
[root@dhcpc tmp]# perl dbd1.pl <br />
hello <br />
[root@dhcpc tmp]# perl dbd1.pl <br />
hello <br />
<br />
but if I execute commit, it runs as expected.<br />
[root@dhcpc tmp]# cat dbd2.pl <br />
#!/usr/bin/perl<br />
<br />
use DBI;<br />
<br />
    my $dbh = DBI-&gt;connect( &quot;DBI:mysql:database=test;host=localhost&quot;, &quot;root&quot;, &quot;123456&quot;, {AutoCommit =&gt; 0 } ) ;<br />
#   my $dbh = DBI-&gt;connect( &quot;DBI:mysql:database=test;host=localhost&quot;, &quot;root&quot;, &quot;123456&quot;, { &#039;RaiseError&#039; =&gt; 1, AutoCommit =&gt; 1 } );<br />
    my $sql =qq{insert into test(name, id) values(&#039;hello &#039;, 2)};<br />
    $dbh-&gt;do($sql);<br />
<br />
    my $query = $dbh-&gt;prepare(&quot;SELECT name FROM test&quot;);<br />
    $query-&gt;execute();<br />
    $dbh-&gt;commit();<br />
<br />
    while ( $ary = $query-&gt;fetchrow_arrayref() ) {<br />
        print (  $ary-&gt;[0] . &quot;\n&quot;);<br />
    }<br />
<br />
[root@dhcpc tmp]# perl dbd2.pl <br />
hello <br />
[root@dhcpc tmp]# perl dbd2.pl <br />
hello <br />
hello <br />
<br />
btw, mysql is 5.6.22 and I set autocommit=off in /etc/my.cnf]]></description>
            <dc:creator>chen gene</dc:creator>
            <category>Perl</category>
            <pubDate>Sun, 08 Feb 2015 02:34:53 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,623902,623902#msg-623902</guid>
            <title>cmake compile for 64 bit (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,623902,623902#msg-623902</link>
            <description><![CDATA[ I have 32 bit mysql, compiled from source on Sparc 64 bit Solaris 10.  I have to upgrade mysql to newer versions which require using CMAKE.  I did this for another application that used Suns CC Compiler, without any compiler flags, and it built a 32 bit version of mysqld (server).  <br />
<br />
The CMAKE documentation say that to get 32bit, you specify -m32, but it doesn&#039;t say anything about requiring a flag for 64 bit.  <br />
<br />
If I use gcc or CC, do I need a flag to compile 64 bit mysql using CMAKE.<br />
<br />
Does anyone have a good configuration line to compile 64 bit solaris or do I just put -m64 for gcc or CC please?  <br />
<br />
I&#039;m also looking to create a mysqld binary that will make use of a multi-core T4-2 server.  If there are any additional compile options for this, please let me know.  <br />
<br />
Thanks very much.]]></description>
            <dc:creator>Christine Ross</dc:creator>
            <category>Perl</category>
            <pubDate>Sat, 15 Nov 2014 16:18:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,623901,623901#msg-623901</guid>
            <title>compiling separate 32 bit client and 64 bit mysqld instances (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,623901,623901#msg-623901</link>
            <description><![CDATA[ We currently have a very old 32 bit client and server mysql installation on Sparc Solaris, compiled from source.  Additionally I have 32bit perl modules for connectors (DBD::Mysql, and other perl modules).  GCC is also 32bit.  I have to upgrade the mysql version and include 64 bit support.   I do not want to recompile all supporting tools for 64 bit, (ie) perl, but I just want a 64 bit server.<br />
<br />
I was told I could compile a 32bit client and again compile 64 bit mysqld (server) and just copy the mysqld server binary to the 32 bit installation.   Then I could use all the 32bit connectors, perl and such without recompiling everything.   I tried it and restarted mysql without issue, but I&#039;m concerned that in production, mysqld might fail because it referenced a 32bit library. <br />
<br />
I am not sure how to separate the 32bit client portion and the 64bit server portion.  Typically I install into /usr/local/mysql and specify that as base-dir.  Is it as simple and copying mysqld into the 32bit installation? <br />
<br />
If I don&#039;t do that, I know I could specify the 64bit mysqld location in the startup script, but then do I use specify the 32bit for basedir?   <br />
<br />
Has anyone had experience separating the two installations and using both please?  What was their experience?  <br />
<br />
<br />
Thanks for any help.]]></description>
            <dc:creator>Christine Ross</dc:creator>
            <category>Perl</category>
            <pubDate>Sat, 15 Nov 2014 16:06:24 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,614625,614625#msg-614625</guid>
            <title>DO when mysql connection failed in perl (1 reply)</title>
            <link>https://forums.mysql.com/read.php?51,614625,614625#msg-614625</link>
            <description><![CDATA[ Hi any one can suggest me to set a variable in perl when mysql connection failed.]]></description>
            <dc:creator>RAO peddineni</dc:creator>
            <category>Perl</category>
            <pubDate>Sat, 24 May 2014 20:45:02 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,601173,601173#msg-601173</guid>
            <title>Copy mysql database on same machine. (2 replies)</title>
            <link>https://forums.mysql.com/read.php?51,601173,601173#msg-601173</link>
            <description><![CDATA[ Hello Members. <br />
<br />
please let me know how to copy database and make separate databases for dev, test and live environment.<br />
<br />
I am working on a Perl project and Mysql as database. <br />
<br />
we have dev test and live environemnts. <br />
<br />
We have only one mysql database and we have to connect to this database from dev, test and live environments. <br />
<br />
 <br />
Thanks in Advance.]]></description>
            <dc:creator>Ajay Sharma</dc:creator>
            <category>Perl</category>
            <pubDate>Fri, 20 Dec 2013 16:30:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,594640,594640#msg-594640</guid>
            <title>DBD-mysql installation failure (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,594640,594640#msg-594640</link>
            <description><![CDATA[ I’m having a problem installing DBD-mysql so I can use PERL cgi scripts to communicate with the MySQL database I’ve just installed on a Microsoft Server 2003. I’ve had PERL installed and operational for several years in conjunction with one of my websites. Now I need a new and potentially large database, hence the MySQL. I’ve logged into the server as administrator and followed the instructions to use run, cmd and ppm to open the ppm. That happens just fine, but instead of getting an opportunity to type in “install DBD-mysql, I’m given a window where I can select available modules, etc. or those already installed. After highlighting DBD-mysql I click on file and then “Install The Selected Item” etc. Then I get a Error 401 – Authorization Required message. Why? What authorization is required since I am logged in as the administrator.<br />
<br />
Any assistance that you can provide will be greatly appreciate.<br />
<br />
Thanks!<br />
<br />
Milt Spain]]></description>
            <dc:creator>Milton Spain</dc:creator>
            <category>Perl</category>
            <pubDate>Fri, 13 Sep 2013 17:33:32 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,593916,593916#msg-593916</guid>
            <title>Unknown column &#039;subtest_id&#039; in &#039;NEW&#039; (4 replies)</title>
            <link>https://forums.mysql.com/read.php?51,593916,593916#msg-593916</link>
            <description><![CDATA[ Hi,<br />
<br />
I have the following trigger in my mysql database:<br />
<br />
-------------------------------------------------------------<br />
<br />
CREATE TRIGGER set_subtest_id BEFORE INSERT ON subtest<br />
FOR EACH ROW<br />
BEGIN<br />
    UPDATE seq SET id = id + 1;<br />
    SET new.subtest_id = (SELECT id FROM seq); &lt;-- Failure is happening here<br />
    SET new.time_begin = UNIX_TIMESTAMP(NOW());<br />
    IF new.visible_id = -1 AND new.hidden_results = 1 THEN<br />
        SET new.visible_id = new.subtest_id;<br />
    ELSEIF new.visible_id = -1 THEN<br />
        SET new.visible_id = (SELECT visible_id FROM subtest WHERE subtest_id = new.subtest_parent_id);<br />
    END IF;<br />
    INSERT INTO contains VALUES (new.subtest_id, new.subtest_id);<br />
END; |<br />
<br />
-----------------------------------------------------------------------<br />
<br />
This above trigger has been working fine for over a year and now suddenly I have started seeing intermittent issue with this trigger.<br />
<br />
I assume the error is happening at the point I have marked above ( &lt;-- ).<br />
<br />
I sometimes see the following error in my logs:<br />
<br />
DBD::mysql::db do failed: Unknown column &#039;subtest_id&#039; in &#039;NEW&#039;<br />
<br />
This issue is not easily reproducible and I have seen this error only several times till now.<br />
<br />
The same set of code is working fine sometimes and sometimes it fails with above error.<br />
<br />
I am using Mysql Server 5.6.<br />
<br />
Can anybody help me finding out what is the issue?<br />
<br />
Let me know if any other information is needed.<br />
<br />
Thanks]]></description>
            <dc:creator>Prashant Tekriwal</dc:creator>
            <category>Perl</category>
            <pubDate>Fri, 13 Sep 2013 03:37:27 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,593414,593414#msg-593414</guid>
            <title>ora2pg-help-oracle-driver (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,593414,593414#msg-593414</link>
            <description><![CDATA[ Hi everyone, I get the following error after running ora2pg, I do not know about it, can you help please?<br />
<br />
[oracle@db ~]$ ora2pg<br />
install_driver(Oracle) failed: Can&#039;t locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 8) line 3.<br />
Perhaps the DBD::Oracle perl module hasn&#039;t been fully installed,<br />
or perhaps the capitalisation of &#039;Oracle&#039; isn&#039;t right.<br />
Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, SQLite, Sponge, mysql.<br />
 at /usr/local/lib64/perl5/Ora2Pg.pm line 852<br />
<br />
Installed all perl modules.<br />
<br />
Thanks to everyone in advance.]]></description>
            <dc:creator>Mehmet akdoğan</dc:creator>
            <category>Perl</category>
            <pubDate>Wed, 28 Aug 2013 08:00:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,588825,588825#msg-588825</guid>
            <title>update DBD::mysql error (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,588825,588825#msg-588825</link>
            <description><![CDATA[ i upgrade DBD::mysql from 3.0007 to 4.023 ,get an error,anyone know how to solve this problem? thanks a lot<br />
<br />
# find /usr -name &#039;mysql_config&#039;<br />
/usr/lib64/mysql/mysql_config<br />
/usr/local/mysql-5.5.30-linux2.6-x86_64/bin/mysql_config<br />
/usr/local/mysql-5.1.63/bin/mysql_config<br />
/usr/local/mysql-cluster-gpl-7.1.22/bin/mysql_config<br />
/usr/bin/mysql_config<br />
/usr/lib/mysql/mysql_config<br />
<br />
i use mysql5.5 so<br />
# perl Makefile.PL --mysql_config=/usr/local/mysql-5.5.30-linux2.6-x86_64/bin/mysql_config<br />
<br />
]# make test<br />
PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#039;blib/lib&#039;, &#039;blib/arch&#039;)&quot; t/*.t<br />
t/00base....................ok 1/6<br />
t/00base....................NOK 2#   Failed test &#039;use DBD::mysql;&#039;<br />
#   at t/00base.t line 21.<br />
#     Tried to use &#039;DBD::mysql&#039;.<br />
#     Error:  Can&#039;t load &#039;/root/DBD-mysql-4.023/blib/arch/auto/DBD/mysql/mysql.so&#039; for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.<br />
#  at (eval 7) line 2<br />
# Compilation failed in require at (eval 7) line 2.<br />
# BEGIN failed--compilation aborted at (eval 7) line 2.<br />
FAILED--Further testing stopped: Unable to load DBD::mysql<br />
make: *** [test_dynamic] Error 9<br />
<br />
# make install<br />
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree<br />
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/.packlist<br />
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod<br />
[root@CHS118 DBD-mysql-4.023]# perl -MDBD:mysql<br />
syntax error at - line 0, near &quot;use DBD:&quot;<br />
Execution of - aborted due to compilation errors.<br />
<br />
# perl -MDBD::mysql<br />
Can&#039;t load &#039;/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so&#039; for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.<br />
 at - line 0<br />
Compilation failed in require.<br />
BEGIN failed--compilation aborted.]]></description>
            <dc:creator>h h</dc:creator>
            <category>Perl</category>
            <pubDate>Wed, 19 Jun 2013 06:02:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,579346,579346#msg-579346</guid>
            <title>Using DBI for MySQL metadata (no replies)</title>
            <link>https://forums.mysql.com/read.php?51,579346,579346#msg-579346</link>
            <description><![CDATA[ I&#039;m unable to get the information I need from reading the CPAN DBI documentation, and it was suggested I post here for help specifically for MySQL.  (FYI I&#039;m using Perl 5.10 and MySQL 5.5/5.6).<br />
<br />
I can&#039;t seem to find a list of descriptions of the info that&#039;s being returned from this:<br />
<br />
    my $sth_column_info = $dbh-&gt;column_info( $catalog, $schema, $table, undef );<br />
    my $aoa_ref = $sth_column_info-&gt;fetchall_arrayref;<br />
<br />
There are 30-some elements in the array for each column.  The meaning of some is obvious, the meaning of others is not.<br />
<br />
It&#039;s also not clear to me how to express the arguments to fetchall_arrayref() to ask for only certain information.<br />
<br />
And there are some numeric codes that aren&#039;t meaningful without a key.<br />
<br />
Is there some documentation, specifically aimed at MySQL, on how to use the DBI for obtaining metadata?]]></description>
            <dc:creator>CHap Harrison</dc:creator>
            <category>Perl</category>
            <pubDate>Sun, 17 Feb 2013 19:47:23 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,578414,578414#msg-578414</guid>
            <title>Select query returns false result. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?51,578414,578414#msg-578414</link>
            <description><![CDATA[ eg: <br />
<br />
Table : user<br />
column : user_id (type is int)<br />
<br />
SELECT * FROM user WHERE user_id = &#039;10xyz&#039; is giving same result of<br />
SELECT * FROM user WHERE user_id = &#039;10&#039;<br />
<br />
<br />
The input value is not integer but not giving an error in this case.]]></description>
            <dc:creator>Tom Thomas</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 05 Feb 2013 03:03:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,578268,578268#msg-578268</guid>
            <title>MySql, Perl, and HTML Update function not working (6 replies)</title>
            <link>https://forums.mysql.com/read.php?51,578268,578268#msg-578268</link>
            <description><![CDATA[ Hello,<br />
I used a guide that I found that was written by Tony Darnell regarding using MySql, Perl, and a little HTML to create, update, and delete database records. Everything works perfectly, except for the UPDATE functionality. Is there anything explicitly wrong with the following lines<br />
<br />
$serial = $formdata{&#039;serial&#039;};<br />
$name_first = $formdata{&#039;name_first&#039;};<br />
$name_last = $formdata{&#039;name_last&#039;};<br />
$address_01 = $formdata{&#039;address_01&#039;};<br />
$address_02 = $formdata{&#039;address_02&#039;};<br />
$address_city = $formdata{&#039;address_city&#039;};<br />
$address_state = $formdata{&#039;address_state&#039;};<br />
$address_postal_code = $formdata{&#039;address_postal_code&#039;};<br />
<br />
$dbh = ConnectToMySql($Database);<br />
<br />
$query = &quot;update address set name_first = &#039;$name_first&#039;, name_last = &#039;$name_last&#039;, address_01 = &#039;$address_01&#039;, address_02&#039;, address_city = &#039;$address_city&#039;, address_state = &#039;$address_state&#039;, address_postal_code = &#039;$address_postal_code&#039; where serial = &#039;$serial&#039;&quot;;<br />
<br />
$sth = $dbh-&gt;prepare($query);<br />
<br />
$sth-&gt;execute();<br />
<br />
$dbh-&gt;disconnect;<br />
<br />
<br />
When I takek out the $serial and enter in a manual value in the $query line, it works. So something is not kosher with having it grab that value on its own. I am a complete MySql and Perl n00b btw, so I apologize right off the bat if i misunderstand something or am missing something easy. Thanks for the help and let me know if you need any other info.]]></description>
            <dc:creator>adam gruber</dc:creator>
            <category>Perl</category>
            <pubDate>Tue, 05 Feb 2013 14:51:14 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?51,575384,575384#msg-575384</guid>
            <title>Mysql query produces different results for different users (3 replies)</title>
            <link>https://forums.mysql.com/read.php?51,575384,575384#msg-575384</link>
            <description><![CDATA[ Hello,<br />
<br />
On my website I have a form with 6 fields the user fills in order to retrieve desired records from database.<br />
The user can leave all fields empty, in which case all the records are displayed.<br />
Alternetively, he can fill any combination of fields and the mysql query will be built dynamically based on the user&#039;s choices.<br />
<br />
When I click the submit button, it works fine, no matter what fields combination I fill in the form.<br />
<br />
But, I have a problem with a user, actually a company with a network of 20 users connecting online using Sbox (router).<br />
When they leave all the above form fields empty, they get the recordset and it&#039;s working fine. But, when they fill any of the form fields (any number of fields in any combination), they get an empty recordset. No errors but no records.<br />
<br />
I have no idea what&#039;s the reason for this.<br />
<br />
If they get all the records when the form fields left empty, it means they connect successfully to the database. Also, the PHP code is OK, after all I tested it and it worked (and still working) fine.<br />
So if there is no connection problem and no code problem, what can the problem be?<br />
<br />
If it is relevant, the difference between their computers and mine:<br />
They use ie8 (I use ie9)<br />
Their OS: Windows XP (mine Windows 7)<br />
Om all stations they have NOD32 antivirus. (I have a different one)<br />
<br />
I don&#039;t think any of the above is relevant, but because the situation is so <br />
unexpected so I don&#039;t know where to look for the solution, I provide all details....<br />
<br />
Any ideas?<br />
<br />
Thanks for your help!]]></description>
            <dc:creator>Amir Weinberger</dc:creator>
            <category>Perl</category>
            <pubDate>Sun, 09 Dec 2012 19:45:19 +0000</pubDate>
        </item>
    </channel>
</rss>
