简体   繁体   English

MySQL数据库在线

[英]MySQL Databases Online

I recently downloaded the community version of MySQL. 我最近下载了MySQL的社区版本。 I'm relatively new to databases and all so I may have some misconceptions about databases. 我对数据库和所有数据库都比较陌生,因此我可能对数据库有一些误解。 However, based on my understanding, the database downloaded is local to my computer, so if my computer ever gets destroyed or wiped then the databases is not accessible anymore and cannot be referenced by programs. 但是,根据我的理解,下载的数据库是我的计算机本地的,因此,如果我的计算机被破坏或擦除,则该数据库将无法再访问,并且无法被程序引用。

If this is the case, is there a way to make the database not local to my computer, but based online so that it will always be accessible regardless of the condition of my computer? 如果是这种情况,是否有一种方法可以使数据库不是我的计算机本地的而是在线的,以便无论我的计算机的状况如何都可以随时访问该数据库?

EDIT: It would be best if the database was free if possible. 编辑:最好是如果可能的话数据库是免费的。 In addition, I have no host accounts currently. 此外,我目前没有主机帐户。

If you are running the database on your machine, then true - if the computer gets wiped or destroyed, so does your database and data. 如果您正在计算机上运行数据库,则为true-如果计算机被擦除或销毁,则数据库和数据也是如此。

If you want online, then Amazon Web Services (AWS) is probably your best bet. 如果您想在线,那么Amazon Web Services(AWS)可能是最好的选择。 You create an RDS there, and it lives in the cloud. 您在此处创建一个RDS,它位于云中。 Not for the faint of heart. 不是为了胆小的人。 Not that it is particularly difficult, but probably not for the novice. 并不是说这特别困难,但是对于新手来说可能不是。

I also had the same problem and the solution came from here 我也有同样的问题,解决方案来自这里
All the free hosters i found with mySQL were way too limited and 99% didn't gave you remote connections. 我在mySQL上发现的所有免费托管商都太有限了,有99%的托管商没有为您提供远程连接。 So you set up a free VPS ...a nice linux distro,you install the mySQL and off you go... 因此,您设置了免费的VPS ...一个不错的linux发行版,安装了mySQL并开始使用...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM