<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused' in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333489#M2680</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/93223"&gt;@BOkay&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;have you ran “sudo apt-get upgrade” by mistake ? We have seen user can’t login to GUI after did a “sudo apt-get upgrade “&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jun 2020 17:57:44 GMT</pubDate>
    <dc:creator>lychiang</dc:creator>
    <dc:date>2020-06-15T17:57:44Z</dc:date>
    <item>
      <title>'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333444#M2676</link>
      <description>&lt;P&gt;I appear to have a php connection issue to my database on my Expedition instance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to upgrade Expedition to the latest version I get the following error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Preparing to unpack .../expedition-beta_1.1.70_amd64.deb ...
Unpacking expedition-beta (1.1.70) over (1.1.70) ...
Setting up expedition-beta (1.1.70) ...
PHP Warning:  mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22
PHP Fatal error:  Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24
Checking for old projects and Devices what are not Encrypted
PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/libs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43
Stack trace:
#0 /var/www/html/libs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO-&amp;gt;__construct('mysql:host=127....', 'root', 'paloalto', Array)
#1 /var/www/html/libs/vendor/illuminate/database/Connectors/Connector.php(64): Doctrine\DBAL\Driver\PDOConnection-&amp;gt;__construct('mysql:host=127....', 'root', 'paloalto', Array)
#2 /var/www/html/libs/vendor/illuminate/database/Connectors/Connector.php(43): Illuminate\Database\Connectors\Connector-&amp;gt;createPdoConnection('mysql:host=127....', 'root', 'paloalto', Array)
#3 /var/www/html/libs/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector-&amp;gt;createConnection('mysql:host=127....', Array, Array)
#4 /var/www/html/libs/vendor/illuminate/database/Connectors/ConnectionFactory.php(183): Illuminate\Database\Connectors\MySqlConnector-&amp;gt;connect(Array)
#5 [i in /var/www/html/libs/vendor/illuminate/database/Connection.php on line 664&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts on how to resolve the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 15:41:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333444#M2676</guid>
      <dc:creator>BOkay</dc:creator>
      <dc:date>2020-06-15T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333453#M2677</link>
      <description>&lt;P&gt;l also get the following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pane@PAISASPANORA001:~$ tail /var/log/apache2/error.log &lt;BR /&gt;[Mon Jun 15 08:27:17.423133 2020] [:error] [pid 1330] [client 10.199.105.198:50747] PHP Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.423157 2020] [:error] [pid 1330] [client 10.199.105.198:50747] PHP Fatal error: Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.505744 2020] [:error] [pid 1587] [client 10.199.105.198:50750] PHP Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.505766 2020] [:error] [pid 1587] [client 10.199.105.198:50750] PHP Fatal error: Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.515943 2020] [:error] [pid 1330] [client 10.199.105.198:50752] PHP Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.515963 2020] [:error] [pid 1330] [client 10.199.105.198:50752] PHP Fatal error: Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.522211 2020] [:error] [pid 1328] [client 10.199.105.198:50753] PHP Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:27:17.522231 2020] [:error] [pid 1328] [client 10.199.105.198:50753] PHP Fatal error: Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:28:39.027273 2020] [:error] [pid 1330] [client 10.199.105.198:28156] PHP Warning: mysqli::__construct(): (HY000/2002): Connection refused in /var/www/html/libs/database.php on line 22, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;BR /&gt;[Mon Jun 15 08:28:39.027314 2020] [:error] [pid 1330] [client 10.199.105.198:28156] PHP Fatal error: Database connection failed: Connection refused in /var/www/html/libs/database.php on line 24, referer: &lt;A href="https://198.84.35.11/" target="_blank"&gt;https://198.84.35.11/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 15:57:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333453#M2677</guid>
      <dc:creator>BOkay</dc:creator>
      <dc:date>2020-06-15T15:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333457#M2678</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/93223"&gt;@BOkay&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try below steps :&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;SPAN style="font-weight: 400;"&gt;In Setting-&amp;gt; M. Learning-&amp;gt; Server information-&amp;gt; Expedition ML address, trying to set the Expedition IP to&lt;/SPAN&gt;&lt;STRONG&gt; 127.0.0.1&lt;/STRONG&gt;&lt;SPAN style="font-weight: 400;"&gt; , this will fall back to Expedition server IP and click “Save”. This step will re-initiate the database connections. (If Expedition is behind a different IP or NATed IP , you would need to put the real IP as ML IP not the NATed IP ) , check the IP using ifconfig.&amp;nbsp; (Most cases, this step should fix your Database connection issue, if not, continue to step 2)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;2. Go to #more /home/userSpace/userDefinitions.php review the parameters in the files look like below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('DBServer' , '127.0.0.1');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('DBUser',&amp;nbsp; 'root');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('DBPass', 'paloalto');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('DBName' ,'project_schema');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('PARSER_max_execution_time','10000');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('PARSER_max_execution_memory','1G');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;define ('DBSQL_LOG_BIN', 0);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;3. Issue SQL commands to check which IPs were being allowed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;#&lt;/SPAN&gt;&lt;STRONG&gt;mysql -uroot -ppaloalto&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;expedition@expedition-documentation&lt;/STRONG&gt;&lt;SPAN style="font-weight: 400;"&gt;:&lt;/SPAN&gt;&lt;STRONG&gt;~&lt;/STRONG&gt;&lt;SPAN style="font-weight: 400;"&gt;$ &lt;/SPAN&gt;&lt;STRONG&gt;mysql -uroot -ppaloalto&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Welcome to the MariaDB monitor.&amp;nbsp; Commands end with ; or \g.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Your MariaDB connection id is 319026&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Server version: 10.1.44-MariaDB-1~xenial mariadb.org binary distribution&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;MariaDB [(none)]&amp;gt; &lt;/SPAN&gt;&lt;STRONG&gt;select host,user from mysql.user;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;+--------------------------+------------------+&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| host &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | user &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;+--------------------------+------------------+&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| &lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;10.8.200.34&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | root&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| 127.0.0.1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| ::1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| expedition-documentation | root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| localhost&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | debian-sys-maint |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;| localhost&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;+--------------------------+------------------+&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;6 rows in set (0.00 sec)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Verified Expedition IP and User Root is showing up as above&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;4. Check that /etc/mysql/my.cnf is correctly setup not bind to 127.0.0.1. There is a health check in the dashboard that checks this as well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Make sure below line is commented out:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;# The following values assume you have at least 32M ram&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;/127.0.0.1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;...skipping&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;# Instead of skip-networking the default is now to listen only on&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;# localhost which is more compatible and is not less secure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#bind-address&lt;/STRONG&gt; &lt;STRONG&gt;= 127.0.0.1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 16:18:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333457#M2678</guid>
      <dc:creator>lychiang</dc:creator>
      <dc:date>2020-06-15T16:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333470#M2679</link>
      <description>&lt;P&gt;Thanks. Here are the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) I can't login via GUI&lt;/P&gt;
&lt;P&gt;2) My parameters match&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp;ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")&lt;/P&gt;
&lt;P&gt;4) My parameters are correct, the proper things are commented out.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 16:58:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333470#M2679</guid>
      <dc:creator>BOkay</dc:creator>
      <dc:date>2020-06-15T16:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333489#M2680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/93223"&gt;@BOkay&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;have you ran “sudo apt-get upgrade” by mistake ? We have seen user can’t login to GUI after did a “sudo apt-get upgrade “&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 17:57:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333489#M2680</guid>
      <dc:creator>lychiang</dc:creator>
      <dc:date>2020-06-15T17:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333499#M2681</link>
      <description>&lt;P&gt;Nope, I did sudo apt-get update and sudo apt-get install expedition-beta.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used command line history and just verified now.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 18:44:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333499#M2681</guid>
      <dc:creator>BOkay</dc:creator>
      <dc:date>2020-06-15T18:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333503#M2682</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello BOkay,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The error&amp;nbsp;could be that the MySQL is not listening to ports. Do a&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV id="1592248172.009300" tabindex="-1" role="listitem" aria-expanded="false" data-qa="virtual-list-item"&gt;
&lt;DIV role="document" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV role="document" data-qa-hover="true"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="message_content"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="block-kit-renderer"&gt;
&lt;DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;netstat -pnuat&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;And check if you have any line with port 3306.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Also, which IP are defined to be listening. Normally it should state all ipv6 (it includes ipv4)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="1592248323.012700" role="listitem" aria-expanded="false" data-qa="virtual-list-item"&gt;
&lt;DIV role="document" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV role="document" data-qa-hover="true"&gt;
&lt;DIV aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV aria-live="assertive"&gt;&lt;STRONG&gt;Below are possible reasons of this database connection error:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="message_content"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="block-kit-renderer"&gt;
&lt;DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;a) the MySQL service is blocked to only listen to socket connections,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;b) the MySQL went uninstalled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;c) the MySQL is there, but firewall is blocking connections to MySQL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;d) that they upgraded MySQL and it only allows root MySQL connections from system root user (we connect using www-data)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jun 2020 19:26:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333503#M2682</guid>
      <dc:creator>lychiang</dc:creator>
      <dc:date>2020-06-15T19:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333646#M2685</link>
      <description>&lt;P&gt;I resolved the issue by doing the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had to remove the tc.log file as it became corrupt.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo rm /var/lib/mysql/tc.log&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then reinstalled expedition&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt-get install --reinstall expedition-beta&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 15:13:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333646#M2685</guid>
      <dc:creator>BOkay</dc:creator>
      <dc:date>2020-06-16T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: 'Incorrect user or password' when logging in.  PHP 'Connection refused'</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333658#M2686</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/93223"&gt;@BOkay&lt;/a&gt;&amp;nbsp;Thank you for sharing the solution!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 16:34:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/incorrect-user-or-password-when-logging-in-php-connection/m-p/333658#M2686</guid>
      <dc:creator>lychiang</dc:creator>
      <dc:date>2020-06-16T16:34:21Z</dc:date>
    </item>
  </channel>
</rss>

