WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using MySQL Connect (5 posts)

  1. Colin Young
    Member
    Posted 9 months ago #

    I'm just about to start creating some custom pages for updating details in mysql on my wordpress site.

    It appears that the mysql connect command uses plain text to store the password and connect.

    I would have thought this was a problem but dont see many alternate suggestions.

    Can anyone advise if this the best approach or is there a more secure way to connect through php pages?

  2. esmi
    Forum Moderator
    Posted 9 months ago #

    Why do you need to even use mysql connect to connect to your WP database?

  3. Colin Young
    Member
    Posted 9 months ago #

    its more to do with woocommerce tables. I want to create custom posts and potentially build a csv importer because I cant find one I like.

  4. esmi
    Forum Moderator
    Posted 9 months ago #

    You still shouldn't need to use mysql connect. You will already be connected to the database in the WP site. Try downloading http://wordpress.org/plugins/eshop-csv-export/ and see how that plugin achieves something similar for eShop

  5. Colin Young
    Member
    Posted 9 months ago #

    Thanks Esmi. I will have a good look at that

Reply

You must log in to post.

About this Topic

Tags

No tags yet.