New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to Azure MySQL database #13601

Closed
rnkhouse opened this Issue Aug 21, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@rnkhouse

rnkhouse commented Aug 21, 2017

Steps to reproduce

  1. Create database on Azure MySQL preview instance. Or username which contains @ and/or -
  2. Add host with auth_type = 'cookie'
  3. Try to connect.

Expected behaviour

Successfully connect to database.

Actual behaviour

Warning in ./libraries/dbi/DBIMysqli.php#261
mysqli_query(): SSL operation failed with code 1. OpenSSL Error messages: error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length

Backtrace

./libraries/dbi/DBIMysqli.php#261: mysqli_query(
,
string 'SELECT CURRENT_USER();',
integer 0,
)
./libraries/DatabaseInterface.php#239: PMA\libraries\dbi\DBIMysqli->realQuery(
string 'SELECT CURRENT_USER();',
,
integer 1,
)
./libraries/DatabaseInterface.php#1588: PMA\libraries\DatabaseInterface->tryQuery(
string 'SELECT CURRENT_USER();',
,
integer 1,
boolean false,
)
./libraries/check_user_privileges.lib.php#303: PMA\libraries\DatabaseInterface->fetchValue(string 'SELECT CURRENT_USER();')
./libraries/ListDatabase.php#10: require_once(./libraries/check_user_privileges.lib.php)
./libraries/Psr4Autoloader.php#166: include(./libraries/ListDatabase.php)
./libraries/Psr4Autoloader.php#146: PMA\Psr4Autoloader->requireFile(string './libraries/ListDatabase.php')
./libraries/Psr4Autoloader.php#106: PMA\Psr4Autoloader->loadMappedFile(
string 'PMA\',
string 'libraries\ListDatabase',
)
PMA\Psr4Autoloader->loadClass(string 'PMA\libraries\ListDatabase')
./libraries/DbList.php#93: spl_autoload_call(string 'PMA\libraries\ListDatabase')
./libraries/DbList.php#54: PMA\libraries\DbList->getDatabaseList()
./libraries/common.inc.php#1066: PMA\libraries\DbList->__get(string 'databases')
./chk_rel.php#9: require_once(./libraries/common.inc.php)

Server configuration

Operating system:
Linux
Web server:
nginx/1.10.3
Database:
MySQL 5.7.17-log - MySQL Community Server (GPL)
PHP version:
7.0.22
phpMyAdmin version:
4.6.4

Client configuration

Browser:
Any
Operating system:
Any

PS: Its working fine when I use auth_type config instead of cookie.

@nijel nijel self-assigned this Aug 22, 2017

@nijel nijel added this to the 4.6.6 milestone Aug 22, 2017

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Aug 22, 2017

Member

Duplicate of #12293

This bug has been already fixed, please upgrade phpMyAdmin.

Member

nijel commented Aug 22, 2017

Duplicate of #12293

This bug has been already fixed, please upgrade phpMyAdmin.

@nijel nijel closed this Aug 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment