PHP Classes

File: db_params.php

Recommend this page to a friend!
  Classes of Rafal Antczak   RA PHP MySQL CRUD class   db_params.php   Download  
File: db_params.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: RA PHP MySQL CRUD class
Manipulate data in MySQL database tables
Author: By
Last change:
Date: 5 years ago
Size: 521 bytes
 

Contents

Class file image Download
<?php

/*
 * Parameters of database connection
 */

    // Address of database server (IP format xxx.xxx.xxx.xxx) or 'localhost' if web server and mySQL server is the same machine
    // Replace 'address_of_my_mySQL_server' with real address of your mySQL server
   
define("DB_HOST", "localhost");
   
   
   
// Username
   
define("DB_USER", "db_user_name");
   
   
   
// Password
   
define("DB_PASS", "db_password");
   
   
   
// Name of your mySQL database
   
define("DB_NAME", "db_name");
   
?>