Download and Installation Instructions: After WAMP Server download start the installation:

Similar documents
Princess Nourah bint Abdulrahman University. Computer Sciences Department

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT

Locate your Advanced Tools and Applications

Apache, Php, MySql Configuration

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist.

Table of Contents. Knowledge Center -

K-RATE INSTALLATION MANUAL

Guide for Building Web Application Using PHP and Mysql

WAMP Bundle installation guide for CCSuite

What is WAMP5? Top Next

Kendo Manager Installation

SQL Server Deployment Installation Manual. Call a Hygiena representative for more information or support

Phpmyadmin Windows Xp

Sugar Enterprise 6.5 Offline Client Guide

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Advanced Web Tutorial 10

Daily Diary Studies App User Guide

The MANUAL. 1 P a g e

K-SEARCH TRIAL INSTALLATION MANUAL

Installation of Microsoft SQL Server 2012 Setup MwPharm++ database

Activant Prophet 21. Prophet 21 System Administration

CCMS Installation Instructions

MySQL: Access Via PHP

DOCUMENT TRACKING INSTALLATION GUIDE

Backup System Administrators

OpenPro Installation Instructions

Webcart Documentation

Immotec Systems, Inc. SQL Server 2008 Installation Document

Week One Journal Date: January 10 th 2018 Start Time: 1:50pm Stop Time: 2:30pm

GoPrint Server Migration

INSTALLATION GUIDE FOR ACPL FM220 RD WINDOWS APPLICATION INDEX

Setting up the Master Computer

Apache Install Instructions Win7 7 Php Mysql. Phpmyadmin Linux >>>CLICK HERE<<<

Installing phpmyadmin On Linux

DOCUMENT TRACKING INSTALLATION GUIDE

Networks and Web for Health Informatics (HINF 6220) Tutorial 13 : PHP 29 Oct 2015

Week One Journal Date: January 10 th 2018 Start Time: 1:50pm Stop Time: 2:30pm

Install Apache Manually Win7 7 Php Mysql Phpmyadmin Windows Xp

Online CD Library (OCDL):

Installation User Guide SMART ACCESS 2.0

PS IMAGO Portal 4.0 /// installation instructions

Working with Databases

The connection has timed out

Immotec Systems, Inc. SQL Server 2008 Installation Document

Manually Password Protect Directories Apache Ubuntu

for Microsoft Upgrade Manual OnTime for Microsoft version 3.0.x Upgrading from version 1.1.x and newer

Mysql Tutorial Create Database Username Password Through Phpmyadmin

Mysql Server 4.1 Manually Windows 7 Start Service

Host at 2freehosting.Com

WebEA Quick Start Guide

Creating an Adobe Connect Presentation: Using Your Personal Computer to Record and Publish

BioStar INSTALLATION GUIDE. Version 1.00 English

AD Sync Client Install Guide. Contents

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

Database connection 1

Locate your Advanced Tools and Applications

Installing SQL Server Developer Last updated 8/28/2010

SQL Server Express Installation Guide

INSTALLATION GUIDE.

Using PHP with MYSQL

Scaffold Hunter: By Stefan Wetzel. 1. Installation of MySQL 5.x

CSC System Development with Java. Database Connection. Department of Statistics and Computer Science. Budditha Hettige

CONTROL Installation and Basic-configuration Guide Contents

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel

HR-Lite Database & Web Service Setup Guide

ULTEO OPEN VIRTUAL DESKTOP DEBIAN WHEEZY (7.0) SUPPORT

DOCUMENT REVISION HISTORY

Installing PHP 5.1 On Windows

Schneider Electric Software Knowledge & Support Center

File uploading in PHP

IQSweb Installation Instructions Version 5.0

SQL Injection Attack Lab

Install WordPress 3.X In Multi Blog / Multi user mode On localhost

TecLocal MultiUser Database

ASSET TRACKING SYSTEM INSTALLATION GUIDE

LOD Data GW Installation (1.0)

Installation Guide of FingaPass Gateway. Doc version v1.0

B2B Installation Manual, System Requirements & Folder Structure

2. Installing OpenBiblio 1.0 on a Windows computer

Preparing Your Working Environment

Data Warehouse: User Computer Configuration Guide

29 March 2017 SECURITY SERVER INSTALLATION GUIDE

Install SQL Server 2012 with SP1 Express Edition

Web Programming Laboratory CSE-3200

Configure 802.1x - PEAP with FreeRadius and WLC 8.3

EMS MASTER CALENDAR Installation Guide

Linux Network Administration. MySQL COMP1071 Summer 2017

Recommended Maintenance Plan for Siriusware Clients for SQL server 2005

Chapter 10: MySQL & PHP. PHP and MySQL CIS 86 Mission College

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts

Courtesy of Clayton Fyfe. Lab 2 Runthrough

Windows Backup Server Installation

Should you encounter any issues or have questions as you go through this registration process, please send an to:

PROFITstar, PROFITability, Profitstar Suite, and PROFITstar Portfolio. Release Installation Guide For Clients Installing for the First Time

Web Server Setup Guide

How To Start Mysql Use Linux Command Line Client In Xampp

Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto

Bitnami MariaDB for Huawei Enterprise Cloud

Getting Started With Windows 10

Setting Up Essentials

Transcription:

SET UP Instruction to Set Up a WAMP SERVER with MySQL and to Create a Database in My SQL and Connect from your PHP Script Download WAMP Server V 3.0 or higher from: https://sourceforge.net/projects/wampserver/ Download and Installation Instructions: After WAMP Server download start the installation:

Then try to start the WAMP Server an icon will be seen in the icon notification bar. In the start the icon will be seen red in color i.e., all the services need to start.

In general it runs 3 services Apache server, Phpmyadmin, MariaDB or DB Adminstration. Wait until all the services turn on and the icon turns to green. The major error/ issue while working on this is if some other application in the local system is using the same port then the WAMP Apache will not work on this so if Apache is not working try to change the port and check. Click on WAMP Icon-> Apache -> Service administration-> httpd.conf The primary local host id would be: 80, so wherever you see 80 change it to 81, 82 or 8080/8081 etc. Don t turn it to 3306 since it s your system host id and click on save. Now, restart the WAMP Server again and check whether the Apache service is started and wait until the WAMP Icon turns to green. Then you are all set.

Then try to login to the phpmyadmin here the URL would be localhost followed by port number and hostid that you have given. Username will be root and password will be empty at first. Login and create user and password followed by database. Here, the url is localhost:81 since I have changed the port address to 81. Once you have logged in you can change the password for the username root.

Click on New to create your own database and provide the database name.

Now click on the DB that you have created and on the top you will find SQL you can write your sq queries, create tables or procedures.

Now try to create the index.php page and connect to the database. Now create insert.php which is used to connect to database and insert the data into the table.

Here in the $conn line you need to provide your localhost(this is common for all), and the login details of your phpmyadmin i.e., the username and password that you have used while logging into myphpadmin page and in mysqli_select_db provide your db name that you have to be inserted. Save index.php and insert.php in the following path: C:\wamp64\www Now run the php file the url will be default localhost:81 or localhost:81/index.php and insert the values and click on submit.

Now check in the database whether the values are inserted properly/not.

Connecting MS SQL Server to PHP in WAMP SERVER: This is ONLY for Those Who Want To Use MS SQL SERVER Connected to WAMP Download Microsoft Drivers for PHP to Sql server from: https://www.microsoft.com/en-us/download/details.aspx?id=20098 Extract the application and provide the path C:\wamp64\bin\php\php7.0.23\ext The extracted files will create a.dll files into the provided folder. Be careful with the versions, if the version changes then the.dll files will not work.

After the extraction click on WAMP icon-> php->php.ini and edit by adding the extensions with the.dll files added Add the following commands in php.ini and save: extension=php_pdo_sqlsrv_7_ts_x64.dll extension=php_pdo_sqlsrv_7_nts_x64.dll extension=php_sqlsrv_7_ts_x64.dll extension=php_sqlsrv_7_nts_x64.dll

Check whether the.dll files added properly by checking the extensions WAMP->php-> php extensions -> user added.dll s. Now check whether the MS SQL Server Management is open or running in the background. Here my sever name is DESKTOP-NIGMRVI\MSSQLSERVER1 it varies from yours.

Now try to run a php test script and test the connection: Here check for the servername in your MS SQL server management Studio and use it. Followed by the database enter the database name that you would like to use for the project if you are using Windows authentication for logging into the server then you don t need to enter the Userid and password. If you are using different userid and password for each the database then mention in line-4 of the code as follows: $connectioninfo = array( "Database"=>"company", "UID"=>"Your Userid", "PWD"=> "Password"); Major error in connecting to the database here is, if you are using Windows Authentication and if the page shows error like the login for the username is failed like below,

Then go to the MS SQL Server Studio and check for the user mapping. Follow the path: Server Login-> Security-> Logins- > NT AUTHORITY\SYSTEM-> properties -> User Mapping-> check box the database that you would like to use and you will find some options below check box db_owner then you will be all set.

Now place the php test script in the following path of WAMP: C:\wamp64\www\YourFileName.php If it is connected then it shows the user logged- in as per my code.