Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

I can not connect an external database for manage authentication

$
0
0
by Luis De Sousa.  

Hi moodlers!

I'm trying to use an external database for manage authentication. I want to use my old moodle 1.9 database to identify users of my new site created with Moodle 2.7. But I failed to connect to the external database. When I run the test settings I get the following message:

Warning: mysqli_real_connect(): (HY000/2002): Permission denied in /var/www/html/moodle/lib/adodb/drivers/adodb-mysqli.inc.php on line 113
Could't connect : 
190.170.96.37: Permission denied

I can access the external database in my old centos server from the mysql server in my new centos server and I can make any request to my old database, but I can not do it from moodle in my new server. Any suggestions? Thanks in advance

Luis



Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>