Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Commit abb6fb7

Browse files
committed
fix mariadb and mysql install script
1 parent 873358d commit abb6fb7

File tree

2 files changed

+133
-128
lines changed

2 files changed

+133
-128
lines changed

etc/phpMyAdmin/config.inc.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
// full server array, just define values you need to change.
2626
$i++;
2727
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
28-
$cfg['Servers'][$i]['port'] = '3306'; // MySQL port - leave blank for default port
29-
$cfg['Servers'][$i]['socket'] = '/home/userdata/mysqld.sock'; // Path to the socket - leave blank for default socket
30-
$cfg['Servers'][$i]['connect_type'] = 'socket'; // How to connect to MySQL server ('tcp' or 'socket')
28+
$cfg['Servers'][$i]['port'] = '3306'; // MySQL port - leave blank for default port
29+
$cfg['Servers'][$i]['socket'] = 'mysql.sock'; // Path to the socket - leave blank for default socket
30+
$cfg['Servers'][$i]['connect_type'] = 'socket'; // How to connect to MySQL server ('tcp' or 'socket')
3131
$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli')
3232
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
3333
// (requires PHP >= 4.3.0)

0 commit comments

Comments
 (0)