The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database connection unsuccessful
#2
You have to turn on error reporting on your php.ini file.  You set it to E_ALL.  If you scroll down, it's described where to make the change. Some systems have multiple php.ini files, so if you want to make sure you have the right one, create a new php file like test.php

put
<?php 
$ini = php_ini_loaded_file();
echo $ini;


Then run that file and it will give you the path of the file to edit. 

Regarding the inability to access the db. That's a little weird if you can use it from an application.

A few things.  If you use a random IP address on mysql workbench, try putting 127.0.0.1 for your ip.  If you already had 127.0.0.1, try putting localhost or the actual IP of the server.  

Let me know if you need more things to try.
  Reply


Messages In This Thread
RE: Database connection unsuccessful - by mudmin - 12-13-2018, 11:24 PM
RE: Database connection unsuccessful - by mudmin - 12-15-2018, 09:15 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)