我已经考虑过开发一个需要一些数据库支持并且没有静态IP来运行服务器的Web应用程序.因此,我想知道如何使用mysql提供的在线数据库.我不知道这件事(除了我知道要使用mysql).
I have thought of developing a web-app needing some database support and do not have a static ip to run servers. Hence i want to know how to use the online database provided by mysql. I have no idea in that matter(except that i know to use mysql).
如果有人可以提供一些教程,那将非常有帮助
If somebody can provide some tutorials it will be very helpful
推荐答案据我所知,MySQL和其他任何托管公司都没有提供在线托管的mySQL数据库服务. (编辑:这并不完全正确.正如@Dan Grossman指出的那样,Amazon提供了一个名为 RDS .)
As far as I know, neither MySQL nor any other hosting company provide an online hosted mySQL database service. (Edit: This is not entirely correct. As @Dan Grossman points out, Amazon offers a hosted database service called RDS.)
无论如何这都是不切实际的,因为到远程服务器的数据库流量注定会非常慢.通常,您希望在与Web服务器相同的服务器上运行数据库,或者在通过快速LAN连接到的相邻计算机上运行数据库.
It would be impractical anyway, as database traffic to a remote server is bound to be very slow. You usually want to run your database on the same server as the web server, or on a neighbouring machine that you are connected to through a fast LAN.
但是,运行数据库服务器不需要非常耗费资源.您可以将mySQL安装在运行Web应用程序的同一台计算机上.
However, running a database server doesn't need to be horribly resource intensive. Chances are you can install mySQL on the same machine your web app runs on.
更多推荐
使用在线mysql服务器
发布评论