Host 'PC name' is not allowed to connect to this mysql server menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    dewboat's Avatar Private
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Host 'PC name' is not allowed to connect to this mysql server

    Hi, im new to this whole private server thing, and im trying to get my friend to be able to join the server so i tryed to make a MySQL thing but it just gives me this error - 'Host 'PC name' is not allowed to connect to this mysql server'

    Im using hamachi, if anyone knows the problem please give full instructions on how to do it. And make it noob friendly :c

    If you are feeling nice and could help me directly please add me on skype : StreetarN1337

    Host 'PC name' is not allowed to connect to this mysql server
  2. #2
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you've forwarded your MySQL port (default 3306) through your firewall/router/modem. You can check if it's public here; Open Port Check Tool
    You can find a guide for forwarding ports here; http://www.howtogeek.com/66214/how-t...n-your-router/
    When you make the MySQL account for your friend make sure their account is allowed to access the server, IE [email protected].% and not Username@localhost.

  3. #3
    yoyoyo's Avatar Active Member
    Reputation
    35
    Join Date
    Nov 2006
    Posts
    106
    Thanks G/R
    3/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to wildcard the host name (or specify the IP if it won't be changing). If you wildcard the host name, it can be dangerous if you don't add a password. Be sure to add one. I'd recommend just adding a whole new user with specific commands it can use and specific databases it can read.

    This bare bones user should the trick:
    MySQL :: MySQL 5.1 Reference Manual :: 6.3.2 Adding User Accounts

    CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
    GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'

Similar Threads

  1. Host is not allowed to connect mysql HELP +rep
    By david12 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 07-10-2009, 02:15 PM
  2. Host 'PC name' is not allowed to connect to this mysql server
    By gurpreet in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 08-25-2008, 05:01 AM
  3. Trouble with MySql "host can not connect to this MySql Server"
    By tek.crx in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 06-21-2008, 04:39 PM
  4. host "my IP" is not allowed to connect to this MySQL server
    By ledz14 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-18-2008, 02:51 AM
  5. Error 2003: Cannot connect to the MySQL server on 'localhost' (10061)
    By Gorge in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 10-31-2007, 09:50 AM
All times are GMT -5. The time now is 02:59 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search