Current location: Hot Scripts Forums » Other Discussions » Database » myphpadmin username password help


myphpadmin username password help

Reply
  #11 (permalink)  
Old 09-21-09, 11:25 AM
__md__ __md__ is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
ye i am using xampp alongside myphpadmin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #12 (permalink)  
Old 09-21-09, 02:47 PM
carters-site's Avatar
carters-site carters-site is offline
Wannabe Coder
 
Join Date: Sep 2009
Location: Moline, IL
Posts: 100
Thanks: 2
Thanked 1 Time in 1 Post
Since you are using XAMPP I assume you installed phpMyAdmin yourself. You should have had to setup the username and password during setup/install time. I believe there is a file config.inc.php that should contain the username and password for the mysql connection phpMyAdmin should use.
Check this link out phpMyAdmin 3.3.0-dev - Documentation

If you do not know this you will need to figure out the root username/password MySQL was installed with. You can then get access.

phpMyAdmin is a tool installed for CPanel users. There are however some very nice GUI tools put out by mySQL themselves that you might find useful.

MySQL :: MySQL GUI Tools
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #13 (permalink)  
Old 09-21-09, 06:41 PM
__md__ __md__ is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
Yes I managed to find that file and it says the username is root and the pass ' ' tried them both and it still does not work.... what I’m trying to do is integrate mysql and php with a user login which will be displayed in flash but I cant seem to get it working....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #14 (permalink)  
Old 09-22-09, 02:08 AM
palanikumark palanikumark is offline
New Member
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Just go to http://localhost/phpmyadmin/

Select phpmyadmin Database--> privileges




Thanks
Palanikumar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #15 (permalink)  
Old 09-22-09, 09:28 AM
carters-site's Avatar
carters-site carters-site is offline
Wannabe Coder
 
Join Date: Sep 2009
Location: Moline, IL
Posts: 100
Thanks: 2
Thanked 1 Time in 1 Post
Quote:
Originally Posted by __md__ View Post
Yes I managed to find that file and it says the username is root and the pass ' ' tried them both and it still does not work.... what I’m trying to do is integrate mysql and php with a user login which will be displayed in flash but I cant seem to get it working....
The default username and password should be root and ''. Did you change them at one point in time and forget?

Also make sure the mySQL service is running.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #16 (permalink)  
Old 09-22-09, 10:30 AM
__md__ __md__ is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
thank you everyone for your replies. I was previously told that the preset username is root and i could make up my own password, but i decided to create another user and make my own username and password. But it still does not seem to be working for some reason. Do you have any knowledge in my sql php and flash integration?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #17 (permalink)  
Old 09-22-09, 10:42 AM
carters-site's Avatar
carters-site carters-site is offline
Wannabe Coder
 
Join Date: Sep 2009
Location: Moline, IL
Posts: 100
Thanks: 2
Thanked 1 Time in 1 Post
So you can or can not get logged into the database?

I am a little confused you created a new username and password? I assume you assigned privs and flushed the privs correct?

Some SQL to do it:
MySQL :: MySQL 5.1 Reference Manual :: 5.5.2 Adding User Accounts

As far as Flash user authentication GUI. Never done but I am guessing if you ask google you will find many examples and/or scripts to download and look at.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #18 (permalink)  
Old 09-22-09, 10:53 AM
__md__ __md__ is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
basically when i installed myphpadmin i never saw any prompts about user name and passwords it allowed me to start creating the databases straight away, also every time i open up myphpadmin it does not require me to login or anything like that. The reason why i wanted to know what they both were was because in php code which is linked to both the flash file and the database your required to input weather your using a localhost or not and your username and password.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #19 (permalink)  
Old 09-22-09, 12:25 PM
carters-site's Avatar
carters-site carters-site is offline
Wannabe Coder
 
Join Date: Sep 2009
Location: Moline, IL
Posts: 100
Thanks: 2
Thanked 1 Time in 1 Post
Quote:
Originally Posted by __md__ View Post
basically when i installed myphpadmin i never saw any prompts about user name and passwords it allowed me to start creating the databases straight away, also every time i open up myphpadmin it does not require me to login or anything like that.
This is because the username 'root' and password '' are hard coded into that config file so you will not need to be prompted to enter your username and password, phpMyAdmin will just connect.

Quote:
Originally Posted by __md__ View Post
The reason why i wanted to know what they both were was because in php code which is linked to both the flash file and the database your required to input weather your using a localhost or not and your username and password.
So you created another user and you tried using this user with the PHP file that is trying to connect to the database? What kind of error are you getting back from the connection code?
If it is something like "access denied for user@localhost" then it is a permissions problem and you need to look at the privileges u setup for that user.

I am not familiar with phpMyAdmin much more then using the SQL interface. I am more at home with a straight up MySQL client so I am not sure how you actually flush privs in phpMyAdmin it may be done automatically but someone else will have to explain that one or reference their documentation page.

Last edited by carters-site; 09-22-09 at 12:28 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #20 (permalink)  
Old 09-23-09, 06:06 PM
__md__ __md__ is offline
Newbie Coder
 
Join Date: Sep 2009
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
yes basically i have created a user registration page which is displayed in flash I am surposed to get feedback when someone tries to register or login but this does not happen the code used for the flash part has no errors and the code used in the php files are also correct thats why i think it has something to do with the username and password and weather its localhost because these attributes have to be entered into the php files it probably can not link with the database for some reason.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL help please (simple questions) bluedogsb PHP 24 05-06-09 05:19 PM
Username and password hennie Visual Basic 3 10-17-06 06:47 AM
looking for a shoping cart has a sign up form with username and password they choose. kicon Script Requests 1 11-03-04 12:15 PM
need help with username password of os traceMe ASP 0 08-23-04 04:19 AM
Quick Question for you php guru's Tokahashi PHP 3 04-09-04 01:00 PM


All times are GMT -5. The time now is 09:16 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.