Dreamweaver tutorials
For the purpose of this tutorial I have created the database db_links with three tables: tbl_links, tbl_category and tbl_admin.
Open notepad or any other text editor and copy and paste the following SQL statement:
Replace "admin" and "password" with your chosen login name and password.
These will be your login details to the control panel where you will be managing your links.
Once you’ve done it save the file into C:/ and call it links.sql – remember to give it .sql extension – to do it with notepad you will need to choose All Files from Save as type dropdown menu (fig. 07).

Now go to Start > Run and type cmd. The command window will open. Type the following command: mysql –u root –p and press Enter. You will be prompted to provide a password – type the password which you have chosen for root user when you were installing MySQL and hit Enter again. Now you should see the screen which looks similar to the one in fig. 08.

To see what databases you have currently created on your server type the following command:
The standard three which come together with the installation of MySQL 5.0.41 are: information_schema, mysql and test.
To create our database which we will be using to store our partner’s links, type the following command and click Enter:
This will execute commands included in our links.sql and create our db_links database.
To ensure that the database has been successfully created type again:
You should now see our dblinks database listed in the list of databases (fig. 09).

Our database is now ready. Let’s move on and create the connection to our database using Dreamweaver.
Website Design Company | Website Design Company Sussex | Website Design Company Chichester | Website Design Packages
Tutorials Resources | Articles | Contact | Vector
© Web Design Tutorials – Sebastian Sulinski