Connecting to the sample database (PHP) 317
3.
In Windows, enter your username (if any) and password, and then press
Enter.
The MySQL client’s command prompt appears, as follows:
mysql>
4.
On the Macintosh, enter the following command:
mysql -u
User
-p
Password
For example, if your MySQL user name (also known as an account
name) and password are Tara and Telly3, enter the following
command:
mysql -uTara -pTelly3
If you don’t have a password, omit the
-p
argument as follows:
mysql -uTara
If you didn’t define a user name while configuring your MySQL
installation, enter root as the user name, as follows:
mysql -uroot
The MySQL client’s command prompt appears, as follows:
mysql>
5.
Create a new database by entering the following command at the
MySQL prompt:
mysql>CREATE DATABASE CafeTownsend;
MySQL creates a new database, but it doesn’t contain any tables or
records yet.
6.
Log out of the MySQL client by entering the following command at the
prompt:
mysql>quit;
7.
(Windows) Open the Windows command prompt by selecting Start >
Run, and typing
cmd
in the Run dialog box.
Содержание DREAMWEAVER 8-GETTING STARTED WITH...
Страница 1: ...Getting Started with Dreamweaver...
Страница 8: ...8 Contents...
Страница 10: ......
Страница 46: ...46 Dreamweaver Basics...
Страница 48: ......
Страница 128: ...128 Tutorial Formatting Your Page with CSS...
Страница 136: ...136 Tutorial Publishing Your Site...
Страница 138: ......
Страница 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Страница 196: ...196 Tutorial Displaying XML Data...
Страница 216: ......
Страница 230: ...230 Understanding Web Applications...
Страница 236: ...236 Installing a Web Server...
Страница 254: ...254 Setup for Sample ColdFusion Site...
Страница 268: ...268 Setup for Sample ASP NET Site...
Страница 284: ...284 Setup for Sample ASP Site...
Страница 300: ...300 Setup for Sample JSP Site...
Страница 320: ...320 Setup for Sample PHP Site...