Title: MySQL on Pythonanywhere with SSH
Last modified: May 27, 2019

---

# MySQL on Pythonanywhere with SSH

 *  Resolved [mikkelduif](https://wordpress.org/support/users/mikkelduif/)
 * (@mikkelduif)
 * [7 years ago](https://wordpress.org/support/topic/mysql-on-pythonanywhere-with-ssh/)
 * Hey,
    I’m trying to connect to a MySQL database that I host on PythonAnywhere.
   Do you have any experience with this? As far as I know I need to establish a 
   connection through SSH. Is this currently possible?
 * When I enter the details it just gives me a 500 error every time.
 * /Mikkel

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [7 years ago](https://wordpress.org/support/topic/mysql-on-pythonanywhere-with-ssh/#post-11577564)
 * Hey Mikkel,
 * I’m afraid this is not something I have experience in.
 * If you find out how to make the DB connection over SSH using only PHP code I’d
   love to hear about it and then we could discuss how it could be integrated in
   the plugin if that would be of use to you.
 * Thanks,
 * Tom
 *  Thread Starter [mikkelduif](https://wordpress.org/support/users/mikkelduif/)
 * (@mikkelduif)
 * [7 years ago](https://wordpress.org/support/topic/mysql-on-pythonanywhere-with-ssh/#post-11577951)
 * Hi Tom,
 * The thing is I don’t have any knowledge at all about PHP, which is why I found
   this solution very convenient. However, I have solved my problem by connecting
   to the WordPress DB directly from en external source. Serves the samme purpose
   more or less. 🙂
 * /Mikkel
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/mysql-on-pythonanywhere-with-ssh/#post-11619541)
 * Glad you solved the issue 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘MySQL on Pythonanywhere with SSH’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-login_fbebd6.svg)
 * [External Login](https://wordpress.org/plugins/external-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-login/)
 * [Active Topics](https://wordpress.org/support/plugin/external-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/mysql-on-pythonanywhere-with-ssh/#post-11619541)
 * Status: resolved