Board index   FAQ   Search  
Register  Login
Board index php forum :: Database phpMyAdmin

Connecting database username/password

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

Connecting database username/password

Postby faysy » Fri Dec 02, 2011 9:44 am

mysql_connect('localhost', 'username', 'password') or die(mysql_error());

Whats the username and password i will have to enter because i have no idea what they are by default, or from where can i change them.
Thanks
faysy
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Dec 02, 2011 9:41 am

Re: Connecting database username/password

Postby egami » Fri Dec 02, 2011 1:52 pm

Then you should RTFM.
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Connecting database username/password

Postby ibrahimofic » Sat Dec 10, 2011 11:02 am

Under privilege in your phpadmin,you add a new user with username and password.This is what you can now use to connect to your mysql anywhere you want to use it.i will be glad to help you if you still have any problem
ibrahimofic
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Jul 15, 2011 8:03 am


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.