Below is the method I used for installing DBD::Mysql
1. perl Makefile.PL –mysql_config=/usr/local/mysql/bin/mysql_config –t +estuser=root –testpassword=111111 I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/local/mysql/include -Os -g -fno-common + -fno-strict-aliasing -arch x86_64 embedded (mysql_config ) = ldflags (mysql_config ) = libs (mysql_config ) = -L/usr/local/mysql/lib -lmysqlclient -lpthread mysql_config (Users choice ) = /usr/local/mysql/bin/mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (User’s choice) = 111111 testsocket (default ) = testuser (User’s choice) = root 2. make 3. make test All tests successful. Files=51, Tests=1270, 22 wallclock secs ( 0.38 usr 0.16 sys + 3.51 c +usr 0.49 csys = 4.54 CPU) Result: PASS 4. sudo make install Installing /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysq +l/mysql.bundle Appending installation info to /Library/Perl/Updates/5.12.4/darwin-thr +ead-multi-2level/perllocal.pod

In reply to Re^2: DBD::Mysql not working properly in mac OS X by romy_mathew
in thread DBD::Mysql not working properly in mac OS X by romy_mathew

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.