Git Product home page Git Product logo

Comments (14)

Sarjuuk avatar Sarjuuk commented on June 29, 2024 2

'woltk'@'localhost' wrath of lich the king
... sicher..?

Yes very safe and "woltk" is the database username I use the TC WoltK 3.3.5 core

woltk

...ganz sicher..?

from aowow.

Sarjuuk avatar Sarjuuk commented on June 29, 2024

'woltk'@'localhost'
wrath of lich the king

... sicher..?

from aowow.

Krutok avatar Krutok commented on June 29, 2024

'woltk'@'localhost' wrath of lich the king

... sicher..?

Yes very safe and "woltk" is the database username
I use the TC WoltK 3.3.5 core

TrinityCore rev. cb0104ca2988+ 2024-05-05 20:05:15 +0200 (release branch) (Unix, RelWithDebInfo, Static)

Had to switch to Debian 12 to be able to compile the last update
The Last Update require Debian 12

I can successfully execute the test script under the shell. It contains the same access data as I use for your Aowow.
You could also provide me with such a test script to test the database connection, but my script is simple and therefore meaningful enough that the problem is not my fault.

PHP 8.3.6 (cli) (built: Apr 12 2024 12:51:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies

from aowow.

Krutok avatar Krutok commented on June 29, 2024

Is this supposed to be a joke?

Screenshot 2024-05-07 140133

from aowow.

iTob191 avatar iTob191 commented on June 29, 2024

Is this supposed to be a joke?

Your SQL username is woltk but the correct abbreviation for "Wrath of the Lich King" is wotlk. This might be the spelling mistake that causes your problem.

from aowow.

Krutok avatar Krutok commented on June 29, 2024

Your SQL username is woltk but the correct abbreviation for "Wrath of the Lich King" is wotlk. This might be the spelling mistake that causes your problem.

No, it can't because my test script runs the same way and establishes the database connection.

Here are both scripts as a screenshot, they contain the same username

Screenshot 2024-05-07 144803
Screenshot 2024-05-07 145006

Screenshot 2024-05-07 145602

from aowow.

iTob191 avatar iTob191 commented on June 29, 2024

#0 /var/www/vhosts/XXX/XXX/aowow/includes/libs/DbSimple/Mysqli.php(59): mysqli_connect()

In the current version of aowow there is no mysqli_connect() call on that line. See

} else if (isset($dsn['host']) ) {
Can you try updating?

from aowow.

Sarjuuk avatar Sarjuuk commented on June 29, 2024

So you really have an egregious typo in your mysql username and can't be arsed to say: "yes, i have an egregious typo in my mysql username."

does your password contain chars that would be changed by urlencode()

from aowow.

Krutok avatar Krutok commented on June 29, 2024

#0 /var/www/vhosts/XXX/XXX/aowow/includes/libs/DbSimple/Mysqli.php(59): mysqli_connect()

In the current version of aowow there is no mysqli_connect() call on that line. See

} else if (isset($dsn['host']) ) {

Can you try updating?

@iTob191

I've now downloaded the latest version, but the error remains. No connection


13:37:30  [ERR]   E_USER_ERROR - Access denied for user 'woltk'@'localhost' (using password: YES) at /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php line 30 @ /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php:89
13:37:30  [ERR]   E_USER_ERROR - Access denied for user 'woltk'@'localhost' (using password: YES) at /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php line 30 @ /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php:89
13:37:30  [ERR]   E_USER_ERROR - Access denied for user 'woltk'@'localhost' (using password: YES) at /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php line 30 @ /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php:89
13:37:30  [ERR]   E_USER_ERROR - Access denied for user 'woltk'@'localhost' (using password: YES) at /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php line 30 @ /var/www/vhosts/XXX/XXX/aowow/includes/database.class.php:89

$interface = DbSimple_Generic::connect(self::createConnectSyntax($options));

from aowow.

Krutok avatar Krutok commented on June 29, 2024

So you really have an egregious typo in your mysql username and can't be arsed to say: "yes, i have an egregious typo in my mysql username."

does your password contain chars that would be changed by urlencode()

Yes, numbers, letters and special characters like a password should be.

from aowow.

Sarjuuk avatar Sarjuuk commented on June 29, 2024

not all special chars would trigger urlencode. Be more speciffic or just remove the function call for yourself.

https://github.com/Sarjuuk/aowow/blob/master/includes/database.class.php#L21

from aowow.

Krutok avatar Krutok commented on June 29, 2024

not all special chars would trigger urlencode. Be more speciffic or just remove the function call for yourself.

https://github.com/Sarjuuk/aowow/blob/master/includes/database.class.php#L21

i use letters, numbers and as special character !!

from aowow.

Krutok avatar Krutok commented on June 29, 2024

Ok, I have now generated a different password for the user without special characters. The database connection can now be established.

There may be a note in the overview in the instructions that problems can occur with special characters

from aowow.

Sarjuuk avatar Sarjuuk commented on June 29, 2024

I pointed you at the probable cause of your issues and instead of confirming whether urlencode is the issue you chose to use an insecure password.

Yeah, i'm done.

from aowow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.