简体   繁体   English

数据库连接MySQL或Berkeley DB

[英]Database connection MySQL or Berkeley DB

Ive just recently learned SQL. 我刚刚刚学过SQL。 There seems to be a few concepts I cant understand. 似乎有些概念我无法理解。 Please check my statements. 请检查我的陈述。 SQL is a language you are using to access data in MySQL? SQL是您用来在MySQL中访问数据的语言吗? MySql is a software for a database server? MySql是用于数据库服务器的软件吗? So this means you can buy your own computer hardware and install MySql there and you can access your files in that specific hardware? 因此,这意味着您可以购买自己的计算机硬件并在那里安装MySql,并且可以在该特定硬件中访问文件? Or is MySql only installed in hardwares owned by Oracle and you can only access files there by registering in Oracle? 还是MySql仅安装在Oracle拥有的硬件中,并且您只能通过在Oracle中注册来访问文件?

Here is an example please correct the statement. 这是一个示例,请更正该声明。 Im trying to build a website for my students that take in a username and password. 我试图为我的学生建立一个使用用户名和密码的网站。 This website will use a scripting language that will connect to a database server. 该网站将使用将连接到数据库服务器的脚本语言。 So I upload my xhtml, css files, and some scripting language to a webhost. 因此,我将xhtml,css文件和一些脚本语言上传到了虚拟主机。 Then those scripting files will connect me to my database server? 然后这些脚本文件会将我连接到我的数据库服务器? This means I should have a database server. 这意味着我应该有一个数据库服务器。 The database server are MySql, Appache Cassandra. 数据库服务器是MySql,Appache Cassandra。 To connect to those database server do I need my own harver server that has these database server installed or do I obtain membership from Oracle(?), Appache(?) to access there database server or is there other ways to store data? 要连接到那些数据库服务器,我需要安装了这些数据库服务器的我自己的harver服务器,还是要我从Oracle(?),Appache(?)获取成员身份才能访问那里的数据库服务器,或者还有其他存储数据的方法吗? I think you guys can see my confusion. 我想你们可以看到我的困惑。

You could say SQL is a standardized language to work with relational databases like MySQL, SQL Server Oracle, PostgreSQL etc They conform more or less to the standardized SQL language 您可以说SQL是一种可与关系数据库(例如MySQL,SQL Server Oracle,PostgreSQL等)一起使用的标准化语言,它们或多或少地符合标准化SQL语言

MySQL is open source you can install it on just about any major OS / hardware architecture, for free you don't have to pay anyone anything except for support if you require that MySQL是开源的,您可以将其安装在几乎任何主要的OS /硬件体系结构上,如果需要的话,除了支持费用外,您无需支付任何其他费用。

It's possible to host your database on a server and allow remote apps to connect to it. 可以将数据库托管在服务器上,并允许远程应用程序连接到该数据库。

Apache Cassandra isn't exactly a relational database. Apache Cassandra并不完全是一个关系数据库。

The first thing you need to do is learn to use Google to search for answers to your basic questions. 您需要做的第一件事就是学会使用Google搜索基本问题的答案。 I also recommend Wikipedia.org. 我也推荐Wikipedia.org。

Those two websites can help you learn about what SQL is, MySQL is, scripting languages are, and what servers are. 这两个网站可以帮助您了解什么是SQL,MySQL,脚本语言以及什么服务器。

I'll throw you a bone here. 我在这里给你扔骨头。 MySQL, PHP, and Apache (1 "p", not 2) are all free software. MySQL,PHP和Apache(1个“ p”,而不是2个)都是免费软件。 You can install them on "Windows" or "Linux". 您可以将它们安装在“ Windows”或“ Linux”上。

If you're running Windows, also try using Google to research "WAMP stack" or "WAMP". 如果您使用的是Windows,请尝试使用Google研究“ WAMP堆栈”或“ WAMP”。

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

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