Title: Mysql command line?
Last modified: January 10, 2018

---

# Mysql command line?

 *  Resolved [jeffreylebowski](https://wordpress.org/support/users/jeffreylebowski/)
 * (@jeffreylebowski)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mysql-command-line/)
 * Is it possible to use your plugin to run a sql script?

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mysql-command-line/#post-9853244)
 * Yep this is possible if you add a PHP cron event and then use the `$wpdb` class
   to run the SQL command.
 * If you’re not sure how to go about doing that then your best bet is to post a
   topic in the main wordpress.org support forum.
 * John

Viewing 1 replies (of 1 total)

The topic ‘Mysql command line?’ is closed to new replies.

 * ![](https://ps.w.org/wp-crontrol/assets/icon.svg?rev=3539529)
 * [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crontrol/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crontrol/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crontrol/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crontrol/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crontrol/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/mysql-command-line/#post-9853244)
 * Status: resolved