Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 26-09-2003, 09:08 AM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
Lightbulb Help-error

Warning: Acces denied for user:'root@localhost' (Using Password:NO) in drive c: bla bla bla on line 19...

Possible Solution : You need to supply a password for the mysql script fot it to able to work.


Ok.. begini.. ada masalah sedikit berkenaan mysql nih.. sepatutnya dah ok tapi ada eror macam kat atas nih.. apache php sumer ok jer but then mysql problem. seingat saya laa, dah ada acount root dengan password sekali..

Kalau uninstall mysql pastuh install balik rasanya account root tu masih sama macam yang telah di set sebelum ni.

Boleh tak bagi petinjuk macam mana nak buat..
Help.. Im a Newbie..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 26-09-2003, 09:12 AM
MHR's Avatar
MHR MHR is offline
Senior Webmaster
 
Join Date: Sep 2001
Location: epox
Posts: 435
Rep Power: 96
MHR is on a distinguished road
Send a message via ICQ to MHR Send a message via Yahoo to MHR
root mane ade password unless you have set one up (i think)
or you can just create a new username and password
__________________
Munzir + "/^[Hh](a)(z)\1\2[iI]$/"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 26-09-2003, 09:29 AM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
Dah create user baru tapi tak jalan jugak.. sebab tu laa phpmyadmin pun tak boleh berfungsi..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 26-09-2003, 09:38 AM
MHR's Avatar
MHR MHR is offline
Senior Webmaster
 
Join Date: Sep 2001
Location: epox
Posts: 435
Rep Power: 96
MHR is on a distinguished road
Send a message via ICQ to MHR Send a message via Yahoo to MHR
awak guna apa? Easyphp or compile sendiri?
__________________
Munzir + "/^[Hh](a)(z)\1\2[iI]$/"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 26-09-2003, 10:24 AM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
compile sendiri.. sumer dari tutorial http://internetmaster.com/installtut...all_apache.htm ..
ikut step sumer dari sini.

Easyphp dengan phptriad pun tak reti guna..
Izzit lebih mudah menggunakan easyphp/phptriad berbanding yang compile senirik? saya tengah cuba nak guna phpbb dalam localhost saya.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 26-09-2003, 11:55 AM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 76
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
compile sendiri cammana tuh?
kalau cam tuh server aper yg cik adik pakai...

erm.. pasal error tu.. kalau tak silap ler...
awk kena declare user name ngan password setiap kali nak buat connection ngan database... sbb u dah set masa install mysql tuh...

pasal phptriad tu lak.. yes it more easier n more faster... cause everything had done for u... u just click here n there to run the php script...
__________________
^_^ <== stay happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 26-09-2003, 12:13 PM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
server apache..php..mysql..msqlcc..phpmyadmin..
install satu-satu..

sekarang nih jamned kat mysql laa.. password dah letak tapi still error macam tu.

boleh ker nak set balik user root tu?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 26-09-2003, 01:24 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 97
sufyan is on a distinguished road
[This was from another post I posted previously for someone else]

Well, the only 2 things I can think of is reinstalling MySQL or resetting the root password.

I would suggest you try reseting the password first, then if it doesn't work, you will have to reinstall MySQL. But, lets just hope that we can reset the mysql password. I'll try to make the steps as easy as possible to follow, but if you don't understand or have a question, just ask.

1) Ensure that the mysql deamon is loaded. From the MySQL bin directory, (eg. C:\mysql\bin) try typing
mysqladmin version
if it there is no error, mysql is loaded correctly. If theres an error, type
mysqld
from the came path and try to do the above again. If you cannoth find your bin directory, try using windows search to find the file: mysqladmin.exe

2) In the same directory as the mysqladmin.exe, type
mysql -u root
Some stuff should come out with 'mysql>'. If you see this, move on to step 3.

3) Type the following in mysql>, with an <ENTER> after each line. Ignore lines with # infront of them, these are just comments.
use mysql;
delete from user where user='root';
show fields from user;
insert into user values ('localhost', 'root', '', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', '', '', '', '', 0, 0, 0);
# the above is all on one line.
flush privileges;
exit
mysqladmin -u root -p shutdown
mysqld

That's it, this 'should' reset your mysql root password. When resetted, root has NO password. Now, just open up the config file for PhpMyAdmin and ensure that the user is 'root' and password is left blank.

If there are any errors, post them here. Also include your version of mySQL. To find out your version, type mysqladmin version.

Hope this helps, good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 26-09-2003, 02:26 PM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
ill try it..
sekarang kat ofice . nanti balik cuba lagi..

mysql-4.0.13-win,mysqlcc-0.9.2-win32,apache_2.0.46-win32-x86-no_src,phpMyAdmin-2.5.1-php....

Last edited by hyllda; 26-09-2003 at 02:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 27-09-2003, 08:20 AM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
masih tak boleh jugak...

guna command prompt tu kan?
dah cuba satu but error yang keluar tetap sama.
mula2 mysqladmin then mysqld.. tu yang start keluar eror:
Acces denied for user root bla bla macam biasa..

kalau install balik mysql boleh ke?
bukan ke setting root tu masih sama (password)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 27-09-2003, 11:14 AM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 97
sufyan is on a distinguished road
Awak cuba uninstall, lepas tu reinstall balik...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 27-09-2003, 12:05 PM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
ok .. cuba lagi.. kalau takleh gak format terus hardisk tu..

apa2 hal nanti saya inform lagi k.

thanx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 28-09-2003, 12:45 PM
Muslim's Avatar
Novice Webmaster
 
Join Date: Sep 2001
Location: Satu Tempat diMalaysia
Posts: 39
Rep Power: 0
Muslim is on a distinguished road
Kalu nak try yang dah siap semua.. try PHPDev..

Boleh tengok tutorialnya kat http://pn.lamanweb.net
__________________
"Yang Sempurna Hanyalah A||ah Jua.."

=========================
http://mynuke.info/images/my/bmyn.gif || http://sayamuslim.com/images/smnet.gif
MalaysianNukez || Komuniti SayaMuslim.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 29-09-2003, 04:39 PM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 76
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
bapak ler... terus format tuhhhhhhh...
dashyat nyer... macam tu jer settle kan masalah...
hebat2.. hihihk...
kan senang kalau dah tau nak format... hihihiik
dah format tu.. kalau nak senang install mysql, php, apache
pakai jer phptriad... senang...
takyah setting aper2..
good luck..
__________________
^_^ <== stay happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 30-09-2003, 06:58 PM
hyllda's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Malaysia
Posts: 11
Rep Power: 0
hyllda is on a distinguished road
ill try my best.. dah beli hard disk baru..
senang cerita.. hardisk lama dah serabut sangat..
nak cuba lagi laa..
eror still sama..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Server Error - ASP error ladyheart2612 Website Programming 0 21-07-2005 09:22 AM
lot of error prozone Website Programming 2 19-07-2005 02:39 PM
Weird PHP Error Msg MENJ Website Programming 1 03-01-2005 07:21 PM
PHP Error Helps ! teNtiOn Website Programming 12 28-06-2004 10:12 PM
fatal error joyce Website Programming 2 24-06-2002 02:43 PM


All times are GMT +8. The time now is 04:18 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61