• Tidak ada hasil yang ditemukan

Step I

N/A
N/A
Protected

Academic year: 2023

Membagikan "Step I"

Copied!
16
0
0

Teks penuh

(1)

A Step by Step approach for

PHP-MySQL Connectivity Using XAMPP Server

(2)

Step I

Downloading and

Installing XAMPP

(3)

What we Require?

1. XAMPP Server(32 bit/64 bit) 2. Editor(Notepad++/Netbeans) 3. Any Latest Browser(Internet

Explorer/Chrome/Mozila Firefox)

(4)

Download Latest Version of XAMPP(32/64 bit, according to your machine) from

apachefriends.org

An .exe file will be downloaded after few minutes.

(5)

Now Double Click on Downloaded exe file of XAMPP. It will be started to install.

There can a warning message shown as in following

snapshot. Just click on Ok (because it is related with user account control, will be discussed later sometime).

(6)

Welcome to XAMPP!

XAM P9 IS BE 9dS/ t0 IOStdII ApaCh9 dlsfflbutior

C00taining XtSQL. PHP and Perl

Tom cat

@ phpMyAd

(7)

After few minutes, XAMPP will be installed.XAMPP comes with its Control Panel. This control panel is used to start/stop any

service directly. It will prompt to open Control panel. You can open now or later on. I will open to check the installation status of

XAMPP.

After clicking on finish, Save appropriate language.

Now Following snapshot shows XAMPP control panel.

(8)

Now start Apache and MySQL services by clicking on Start Buttons shown in front of them.Now, lets check the working of server.

Open any Browser.(I will open Chrome).

Type localhost in address bar and hit enter.The following screen shows successful working of XAMPP.

(9)

Step II

Creating Database and Table in

MySQL

(10)

Open XAMPP Control Panel.It can be opened by moving to C:\xampp directory.Serach xampp-control file and click on it.

Now click on Admin button in front of MySQL Module.It will open MySQL database user interface in default browser as shown.

You can create and manage databases in this interface. It can be also openend by typing http://localhost/phpmyadmin/ in address bar.

(11)

MySQL Database User Interface

(12)

Creating Database

Click on database Tab.

Now type name of database you want to create.I type user_account. Then click on create button.

Now new database with name user_accounts will be created and shown on the top in hierarchical way.

(13)

Creating Table

Now give a tablename to be created and select number of columns. Click on go to proceed further.

I have typed two columns say, user_id and user_passwd for my table.Click on save to process query. A table will be created as shown.

(14)

Thanks

Referensi

Dokumen terkait

MySQL adalah software aplikasi untuk membuat database yang umumnya digunakan pada web server, MySQL sering dipakai dalam kombinasi sistem yang menggunakan interface PHP,

2: Logical Data Model Application Design After design database has done, next step is to design user interface and application program as external view to process data in database..