Forum Moderators: open
Using the MySQL console application available on both Windows (c:\mysql\bin\mysql.exe) and Linux/Unix (/usr/local/mysql), we enter the following code to create a new database and one new table, which we will use later with MySQL commands:
---------------------------------------
create database address;
use address;
create table contacts
(
contactId int auto_increment not null,
firstName varchar(50),
lastName varchar(50),
address1 varchar(100),
address2 varchar(100),
phone varchar(20),
primary key(contactId),
unique id(contactId)
);
----------------------------
This is possible if i am running the server.
But i am not. So, i have created a database, a dsn, a username and a password for using the database.
Now, how do i create a new table using asp.
(What is the code that i put in my asp page)
Regards,
MB