CortexPE / Hierarchy

[WIP] It's time to ditch PurePerms and PureChat. // Innovative role-based permission management system
GNU Affero General Public License v3.0
61 stars 11 forks source link

MySQL Error #4

Closed AlexPads closed 5 years ago

AlexPads commented 5 years ago

MySQL Throws a Connection Rejected Error when I try and connect to the DataBase!

I Have Used the Same DataBase after trying this to connect with PurePerms and it Works Just Fine?

 Enabling Hierarchy v1.0.0
[19:15:18] [Server thread/CRITICAL]: CortexPE\Hierarchy\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Access denied for user 'root'@'myipadress(Replaced)' (using password: YES)" (EXCEPTION) in "plugins/Hierarchy_dev-46 (1).phar/src/CortexPE/Hierarchy/libs/poggit/libasynql/libasynql" at line 133
[19:15:18] [Server thread/DEBUG]: #0 plugins/Hierarchy_dev-46 (1).phar/src/CortexPE/Hierarchy/data/SQLDataSource(58): CortexPE\Hierarchy\libs\poggit\libasynql\libasynql::create(string object(CortexPE\Hierarchy\Hierarchy), array Array(), array Array())
[19:15:18] [Server thread/DEBUG]: #1 plugins/Hierarchy_dev-46 (1).phar/src/CortexPE/Hierarchy/Hierarchy(81): CortexPE\Hierarchy\data\SQLDataSource->__construct(string object(CortexPE\Hierarchy\Hierarchy), array Array())
[19:15:18] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(123): CortexPE\Hierarchy\Hierarchy->onEnable()
[19:15:18] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[19:15:18] [Server thread/DEBUG]: #4 src/pocketmine/Server(1992): pocketmine\plugin\PluginManager->enablePlugin(string object(CortexPE\Hierarchy\Hierarchy))
[19:15:18] [Server thread/DEBUG]: #5 src/pocketmine/Server(1978): pocketmine\Server->enablePlugin(string object(CortexPE\Hierarchy\Hierarchy))
[19:15:18] [Server thread/DEBUG]: #6 src/pocketmine/Server(1772): pocketmine\Server->enablePlugins(integer 1)
[19:15:18] [Server thread/DEBUG]: #7 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(string object(BaseClassLoader), string object(pocketmine\utils\MainLogger), string C:\Users\alexm\Desktop\Servers\Hub\, string C:\Users\alexm\Desktop\Servers\Hub\plugins\)
[19:15:18] [Server thread/DEBUG]: #8 (1): require(string phar://C:/Users/alexm/Desktop/Servers/Hub/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[19:15:18] [Server thread/INFO]: Disabling Hierarchy v1.0.0
[19:15:18] [Server thread/INFO]: Enabling PlayerProfile v0.0.1
[19:15:18] [Server thread/INFO]: Enabling PurePerms v1.4.2-c2a
[19:15:20] [Server thread/NOTICE]: [PurePerms] Set data provider to MySQL.
[19:15:23] [Server thread/INFO]: Enabling ScoreHud v5.1.1
CortexPE commented 5 years ago

Are you sure your DB privileges are correct?

And don't use the same database for PurePerms.

CortexPE commented 5 years ago

it works fine on my tests

AlexPads commented 5 years ago

Yes and I tested the database with pureperms after this one was not working. And it seemed to work fine with pureperms it could be windows though being stupid as usuall. I'll try on my Linux host when I get that back up tomorrow! And what's should the shema or whatever the last option be?

CortexPE commented 5 years ago

The database name

On Fri, May 31, 2019, 2:28 PM AlexPads notifications@github.com wrote:

Yes and I tested the database with pureperms after this one was not working. And it seemed to work fine with pureperms it could be windows though being stupid as usuall. I'll try on my Linux host when I get that back up tomorrow! And what's should the shema or whatever the last option be?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CortexPE/Hierarchy/issues/4?email_source=notifications&email_token=AEHQQFEVGQTZ3ARURU6G3YTPYDARVA5CNFSM4HROXH6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUKP2A#issuecomment-497592296, or mute the thread https://github.com/notifications/unsubscribe-auth/AEHQQFD4WOIC7YAZMP7KGUTPYDARVANCNFSM4HROXH6A .