Database Connection a client connects to the database using the connect or the use statement specifying the database name and optionally the userid and password.
数据库连接客户机使用CONNECT或use语句连接数据库,这时要指定数据库名,还可以指定用户id和密码。
The good news is that we don't have to change our code if we switch databases, except for the places -- such as the use statement and the new statement -- where we mention Persistent::MySQL by name.
令人欣慰的是,除了通过名称来引用Persistent::MySQL 之外(例如use语句和new 语句),在切换数据库时不需要更改代码。
The good news is that we don't have to change our code if we switch databases, except for the places -- such as the use statement and the new statement -- where we mention Persistent::MySQL by name.
令人欣慰的是,除了通过名称来引用Persistent::MySQL 之外(例如use语句和new 语句),在切换数据库时不需要更改代码。
应用推荐