You can create your database and tables directly through a script like PHP as bellow
<?php
// set your infomation.
$dbhost='localhost';
$dbusername='david';
$dbuserpass='mypassword';
$dbname='test';
// connect to the mysql database server.
$link_id = mysql_connect ($dbhost, $dbusername, $dbuserpass);
echo "success in database connection.";
// create the database.
$dbname=$dbusername."_".$dbname;
if (!mysql_query("CREATE DATABASE $dbname")) die(mysql_error());
echo "success in database creation.";
?>
Find more details here >> http://www.htmlite.com/mysql005.php
As we embrace programming of databases, we should always first remind our selves on the logical design of the database that is, structuring the database basing on the requirements stipulated by the client.Normalization is done at this stage. Many database developers usually implement the physical database before sketching the structure. You can logically design the database by use of UML (Unified modelling language) especially Object Oriented systems or diagrammatically produce ERD(Entity Relationship Diagrams) or EER (Enhanced Entity Relationship diagrams).
Bellow is a question that requires both a logical and physical implementation
Dr. Richard, runs an immunization clinic, it has Doctors and Nurses and treats patients from Monday to Friday. Using an EER diagram, design a Logical Database which records, the Patients Personal Details (Names, Sex, Age), Immunization Given (Name, Amount, Date, Time, Person Who Gave the Immunization), Appointment Details (Date, Time, Location), New Appointment details and provide an ability to record whether the Patient, has arrived, been seen, departed or did not come
<?php
// set your infomation.
$dbhost='localhost';
$dbusername='david';
$dbuserpass='mypassword';
$dbname='test';
// connect to the mysql database server.
$link_id = mysql_connect ($dbhost, $dbusername, $dbuserpass);
echo "success in database connection.";
// create the database.
$dbname=$dbusername."_".$dbname;
if (!mysql_query("CREATE DATABASE $dbname")) die(mysql_error());
echo "success in database creation.";
?>
Find more details here >> http://www.htmlite.com/mysql005.php
As we embrace programming of databases, we should always first remind our selves on the logical design of the database that is, structuring the database basing on the requirements stipulated by the client.Normalization is done at this stage. Many database developers usually implement the physical database before sketching the structure. You can logically design the database by use of UML (Unified modelling language) especially Object Oriented systems or diagrammatically produce ERD(Entity Relationship Diagrams) or EER (Enhanced Entity Relationship diagrams).
Bellow is a question that requires both a logical and physical implementation
Dr. Richard, runs an immunization clinic, it has Doctors and Nurses and treats patients from Monday to Friday. Using an EER diagram, design a Logical Database which records, the Patients Personal Details (Names, Sex, Age), Immunization Given (Name, Amount, Date, Time, Person Who Gave the Immunization), Appointment Details (Date, Time, Location), New Appointment details and provide an ability to record whether the Patient, has arrived, been seen, departed or did not come
i would like to understand more about database programming especially on how to create and develop databases
ReplyDeleteNo need to worry, you are currently studying database management and programming will be in third year but feel free to come up with an idea of a database you want to implement and we will help you design it.
Deleteam currently working on a database for my first time & AM FAILING TO retrieve data from my tables to a web page need your help sir
ReplyDeletehey reson come for the code, then u gonna get the explanation from richard
ReplyDeleteThis is to request you to please give us some tips on the test we are about to do. They could really come in handy. Thanks.
ReplyDeleteyello Richard
ReplyDeletei have a system work well in mysql and php i need to include in sensors and cctv cameras i have failed to use php to include these equipments in my system. do i need to use another language to include the above if yes can that language be linked to my codes somewhere
Thanks
surf for ideas ull find how @christine
ReplyDeleteThx Mr Kimera this is Namanya Andrew your former student would like to get to learn Oracle what sites would help me understand it best. thanks sir
ReplyDeleteHey Andrew, the best source is the Oracle website (http://www.oracle.com) but you can also check out the link bellow:
Deletehttp://www.oracle-dba-online.com/