Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Allowing Remote Connections - MySQL

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Fri, Apr 08, 2016, 1:12 PM


Error Message

The following error is seen when attempting to connect remotely to MySQL running on a Linux machine.

Host 'xx.xx.xx.xx' is not allowed to connect to this MySQL Server

Resolution

The resolution is to log into the MySQL instance locally, then grant access to the remote user, as follows.

1. Connect to the instance via Putty.

2. Log into the local MySQL instance.

mysql -u root -p

3. Change to the "mysql" database

use mysql

4. Grant privileges to the remote "root" user

grant all on *.* to root@'ip-address' identified by 'root-password'

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.