- Баллы
- 88
- Ник в Minecraft
- OcMuHbI4
Не получается соединить mysql с икономи.
Хостинг ihc, удаленный доступ есть.
В консоли пишет 24.11 22:58:43 [Server] INFO Database Error: java.sql.SQLException: Access denied for user 'p212926_user'@'5.39.85.47' (using password: YES)
Вот конфиг:
Хостинг ihc, удаленный доступ есть.
В консоли пишет 24.11 22:58:43 [Server] INFO Database Error: java.sql.SQLException: Access denied for user 'p212926_user'@'5.39.85.47' (using password: YES)
Вот конфиг:
Код:
Database:
# Databases Supported:
# Flatfile, FF, mini, minidb
# - These all equate to miniDB
##
# item, items, inventory, inventoryDB
# - These all equate to InventoryDB, which uses inventory for storage
##
# xp, exp, orb, xpdb, expdb, orbdb
# - These all equate to ExperienceDB, which relies on Experience for balance.
##
# mysql, mysqldb
# - These will attempt to connect to MySQL
##
# sqlite, sqlite2, sqlite3, sqlitedb
# - These will attempt to create & connect to SQLite
##
# postgre, postgreSQL, postgreDB
# - These will attempt to connect to PostgreSQL
Type: 'mysql'
# These are for InventoryDB only.
#
# InventoryDB is essentially Physical Money.
# It isn't logged in a database, its based on the users inventory
# and the two items selected below.
#
# MajorItem is the item or block ID of the major currency
# MinorItem is the item or block ID of the minor currency
# e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
MajorItem: 266
MinorItem: 265
# This controls the database name, by default it is iConomy
Table: 'iConomy'
# URL is for SQL Databases Only
##
# Path to iConomy folder is easy, it's the COMPLETE path.
# (Mine) G:\MineCraft\plugins\iConomy\
# Won't be the same as yours, but it usually looks like that.
##
# [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
# [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
##
# Binary Databases use ip:port style connections.
# ip
# - is the connection identifier (internet protocol)
# - for ipv6 usually encased in brackets [::1]
# port
# - the port that the database is listening on
# - defaults: 3306 for mysql, postgre is either 5740 or 5432
##
# [MySQL Default] mysql://localhost:3306/iConomy
# [Postgre Default] postgresql://localhost:5740/iConomy
URL: 'mysql://46.254.22.31:3306/p212926_iconomy'
# Login details for binary databases
Username: 'p212926_user'
Password: '19081998'