1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to connect an external MySQL DB to a WP 'page' page?

Discussion in 'White Hat SEO' started by bugschaser, Aug 25, 2010.

  1. bugschaser

    bugschaser Registered Member

    Jul 28, 2008
    Likes Received:
    IT Manager
    Expat in Asia
    I like to add an external MySQL DB grid to a Wordpress 'Page' (not post). However I have problems to connect to the DB using Pearl but also with a standard method. Is it better to add another external page? How? PHP itself is working on the, say about page, but not the DB connectivity. Without WP on a normal php page, everything is working ok. I think the problem has to do with the path of the grid and the path of pearl (subdirectory).

    Does anyone has a working PHP snippets who works with WP 3.0+ I'm only interested with the DB connectivity at this time. It seems WP can't find the right path to the program and the external DB


    P.S. On an external php page, the mysql connectivity and the db grid is working correctly
    Last edited: Aug 25, 2010