如何通过桌面应用程序在线使用 mysql [英] How to use mysql online with a desktop app

查看:41
本文介绍了如何通过桌面应用程序在线使用 mysql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以将用 kivy、python 编写的应用程序转换为使用在线 mysql 数据库,这对于用 python 编写的 Web 应用程序来说通常是直接的,在想要使用的 kivy 和 Tkinter 等平台编写的桌面应用程序如何用于数据共享的在线 mysql 数据库?

Is there any way to convert an app written with kivy, python to use an online mysql database, this is usually straight forward for web apps written in python, how about desktop apps written in platforms like kivy and Tkinter that want to use an online mysql database for data sharing?

推荐答案

为此,您需要一个远程 mysql 服务器.本地 mysql 数据库只会在本地进行更改,在您的计算机内,但远程数据库将接受从连接到它的任何设备提供给它们的数据.有提供此类托管的付费和非付费网站.以下是一些免费的:

For this purpose you need a remote mysql server. A local mysql database will only take changes locally, within your computer, but a remote database, will accept data given to them from any device connected to it. There are paid and non paid websites that provide such hosting. Here are some free ones:

您应该寻找的是远程";mysql 数据库,因为某些在线数据库不允许您写入.

What you should be looking for is "remote" mysql databases because some online database wont allow you to write to it.

看看this 一些解释的答案

这篇关于如何通过桌面应用程序在线使用 mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆