473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

* HELP * MySQL Connection Issue - Access Denied!!

------=_NextPart_000_0077_01C34C8B.2B90C960
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

..I just sent this out to the win32 distribution list but no one has
replied.can someone on this list please help? The issue should be
trivial for experienced MySQL users, I'm just a novice, thanks!
Anyone - I've been racking my brain for the majority of the day and
scouring through the MySQL manual trying to figure out what is wrong.can
anyone please help?

Here's my issue:

- Extracted files to C:\MySQL
- Ran setup.exe (everything went fine, using MySQL Admin 1.4 I can see
'mysql' and 'test' dbs installed)
- MySQL is running as a service and MySQL Admin 1.4 shows a green light

From the box that is running MySQL I try to set the root password in DOS
two ways and when I mention the host (believe it's 'SAMSERVER' according
to MySQL Admin tool) it gives me an error.
------------------------------------------------------------------------
--------------------------------------------
O c:\mysql\bin\mysqladmin -u root password XXXXX .. Works fine and
the next line goes back to my root directory of c:\mysql\bin
O c:\mysql\bin\mysqladmin -u root -h SAMSERVER password XXXXX ..
Gives me the below error!

Mysqladmin: connect to server at 'samserver' failed
Error: 'Access denied for user: 'root@samserver' <using password: NO>'
------------------------------------------------------------------------
--------------------------------------------
Also, when I try to connect to the database from another computer via
the web using http://samserver.sytes.net:8080/mysqltest.php
I get the following error (I've attached my mysqltest.php file too):
'Warning: mysql_connect(): Access denied for user:
'r**********@127.0.0.1' (Using password: YES) in
C:\Apache\Apache2\html\mysqltest.php on line 20
Could not connect'
*** Note, I had to change my router settings to forward port 8080 to my
web server ip since my ISP blocks port 80.
------------------------------------------------------------------------
--------------------------------------------
Also, I've successfully installed phpMyAdmin 2.5.2-rc2. When I run
'http://samsever.sytes.net:8080/phpadmin/index.php' I get the following
message:
"Welcome to phpMyAdmin 2.5.2-rc2
phpMyAdmin tried to connect to the MySQL server, and the server rejected
the connection. You should check the host, username and password in
config.inc.php and make sure that they correspond to the information
given by the administrator of the MySQL server.
Error
MySQL said:
Access denied for user: 'root@SAMSERVER' (Using password: YES)"
------------------------------------------------------------------------
--------------------------------------------
Server Settings:
- Under MySQL Admin 1.4 on the Environment tab I see the following
settings:
o Local Host Name: 'SAMSERVER'
o Local User Name: ' Administrator'
o OS Platform: 'Whistler'
o Local IP Address: '192.168.1.102
o ..also, in MyODBC window it finds driver 3.51 and API
level 2 and SQL level 1

- Chose 'username' and 'password' for MySQLAdmin.exe application
- MyODBC 3.51.06 installed - MySQL Connector/ODBC

Running These Software Versions:
- Windows XP with service pack 1
- MySQL 4.0.13 for windows
- Apache 2.0.47
- PHP 4.3.2

Any help is MUCH appreciated!

------=_NextPart_000_0077_01C34C8B.2B90C960--
Jul 19 '05 #1
0 3345

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ryan Schefke | last post by:
------=_NextPart_000_0077_01C34C8B.2B90C960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ..I just sent this out to the win32 distribution list but no one has...
0
by: Vidhya CS | last post by:
hi , I installed MySQL-server-4.0.14-0.i386.rpm MySQL-client-4.0.14-0.i386.rpm when I give mysqladmin -u root it is asking for password . The doc says that initially the password is empty and...
3
by: James Woo via SQLMonster.com | last post by:
Hi All I am getting an access denied message when I launch the Virtual Server administration screen, however I can connect through the Virtual Machine remote connectivity without any problems....
1
by: powerfulhosting | last post by:
I'm trying to allow someone from a specific IP to connect to a mySQL db w/OBDC. I've run several GRANT queries on the mysql db i.e. GRANT select,update,insert,delete,create,drop,alter,index on...
2
by: rockdale | last post by:
Hi, all: My asp.net application calles MS speech 5.1 and generate a wav file on server's path. Everything runs perfectly on my development machine. But when I move the appl to production server,...
1
by: nickyeng | last post by:
Hi all, I have a question. The situation is like this. I have website and allow user to login and check their details. Every pages are jsp file and contented connection to mysql database to...
0
by: vozzek | last post by:
Hi all, I've got a mySQL database I've been working with as my localhost for several months now, no connection problems. I'm at the point however, where I need to connect to the database from...
1
by: pearl15 | last post by:
Hello All I have successfully installed the following IIS ver 6 php ver 4.4.9 MYSQL ver 5.0.67 when i tested through command line i get no error and i am view the php pages on the browser...
2
by: benicio | last post by:
i got this error after uploading all the files in www folder. i'm using wamp. Warning: mysql_connect() : Access denied for user 'root'@'localhost' (using password: YES) in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.