Current location: Hot Scripts Forums » Programming Languages » PHP » questions from new babe


questions from new babe

Reply
  #1 (permalink)  
Old 05-05-05, 01:02 AM
timorthy timorthy is offline
Newbie Coder
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question questions from new babe

Hi all,

I'm starting learning AMP. I used cmd.exe to test mysql after installing it, but I face an error following:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'ODBC@localhost' (using password: NO)'


Can anyone give me a hand? Thank you so much.
Reply With Quote
  #2 (permalink)  
Old 05-05-05, 03:37 AM
DA Master DA Master is offline
Wannabe Coder
 
Join Date: Jun 2003
Location: Yorkshire
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Have you started your server? Use command prompt to run this...

net start mysql

Note: mysql might be different. Try looking in the services window through Services in Administrative Tools.
__________________
PHP Code:

<?php if(PHP_OS == 'Windows') { echo "Doh"; } ?>

Reply With Quote
  #3 (permalink)  
Old 05-05-05, 05:06 AM
dennispopel dennispopel is offline
Coding Addict
 
Join Date: Mar 2005
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
I'm afraid that this is the issue of incorrect password - try running mysqladmin -uroot
__________________
onPHP5.com - PHP5: Articles, News, Tutorials, Interviews, Software and more
Reply With Quote
  #4 (permalink)  
Old 05-05-05, 02:57 PM
timorthy timorthy is offline
Newbie Coder
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question

Thanks for your ans. Actually, I started mysql already, set it automatically. However, when I try NET START MYSQL, it also appears error of "error: 'Access denied for user 'ODBC@localhost' (using password: NO)'"

If I put password on it, it announces "error: 'Access denied for user 'ODBC@localhost' (using password: YES)'"

But, when I type: MYSQLADMIN -u root -p reload, it runs well.

I don't know why? Oh gosh mysql.

I'm not sure maybe I run AMP on windows XP system, and I'm setting log-in the system automatically. Does it cause error?
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
Couple of questions: FiRe Visual Basic 9 08-29-05 05:02 PM
IT Interview Questions exforsys General Advertisements 3 07-08-05 11:11 AM
Questions Script ... gillweb Job Offers & Assistance 0 02-08-05 02:14 PM
two questions regarding iframes davidklonski JavaScript 2 07-13-04 06:15 AM
woof ruff (i'm new with a few questions) APuppyDog PHP 2 07-22-03 10:51 AM


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