2 Replies - 4179 Views - Last Post: 25 April 2009 - 05:40 AM

#1 reeny  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 25-April 09

how to know my php mysql username and password

Posted 25 April 2009 - 01:15 AM

<?php
ob_start();
$host="localhost"; // Host name
$username=""; // Mysql username<---------
$password=""; // Mysql password<----------
$db_name="myspace"; // Database name
$tbl_name="members"; // Table name






how do i know the mysql username and password on my php?

This post has been edited by reeny: 25 April 2009 - 02:00 AM

Is This A Good Question/Topic? 0
  • +

Replies To: how to know my php mysql username and password

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: how to know my php mysql username and password

Posted 25 April 2009 - 02:47 AM

if you are using WAMP then then
[code]
<?php
$username="root"; //default user name of mysql
$password=""; //empty
?>
[code]
you can change you user name and password from here

First Click Here
Posted Image
Posted Image
Was This Post Helpful? 0
  • +
  • -

#3 reeny  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 25-April 09

Re: how to know my php mysql username and password

Posted 25 April 2009 - 05:40 AM

View Postnoorahmad, on 25 Apr, 2009 - 01:47 AM, said:

if you are using WAMP then then
[code]
<?php
$username="root"; //default user name of mysql
$password=""; //empty
?>
[code]
you can change you user name and password from here

First Click Here
Posted Image
Posted Image







its very helpful.thanks :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1