Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2003, 03:11 AM
Authorized User
 
Join Date: Jul 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySQL 4.0.14 Access Denied remotely !

Ladies & Gentlement,

   I have installed mysql database in a server (192.1.3.139) running Windows2K Server. The reason that I didn't install in Linux because I failed so many times until I gave up.

   I entered the following commands:

mysql> use mysql;
mysql> delete from user where host='localhost' and user='';
mysql> quit;

c:\mysql\bin> mysqladmin reload
c:\mysql\bin> mysqladmin -u root password 123456

Then I tried to access mysql database on the other machine by entering below commands

c:\mysql\bin> mysql -h 192.1.3.139 -u root -p
Enter password : ******

I got the following error:

ERROR 1045: Access denied for user: 'root@BLACKELF' (Using password: YES)

Pls help !! Thanks in adv !!



c:\mysql\bin> mysql -h 192.1.3.
 
Old September 25th, 2003, 11:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, every time you modify the mysql system tables (users, etc.) you need to reload the grant tables for the settings to take effect. Restart MySQL and let us know if you're still having problems.


Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL "Select Denied to user" Problem djidave ASP.NET 2.0 Professional 5 May 29th, 2007 03:06 PM
MySQL "Select Denied to user" Problem djidave ASP.NET 2.0 Professional 2 May 25th, 2007 04:38 PM
How to connect an Access DB remotely? frossie Access 1 June 14th, 2006 08:07 AM
help! DAO and controlling access dbs remotely scottie Access VBA 3 November 28th, 2003 05:19 AM
Mysql access denied pratheeba Java GUI 1 November 20th, 2003 05:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.