<div dir="auto">Thanks a lot i will try it now</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 30, 2018, 4:12 PM Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie">barry.odonovan@inex.ie</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mokhamad,<br>
<br>
Mokhamad Nizar Z wrote on 30/11/2018 06:40:<br>
> Hello today i'm facing problem again when i run perl script <br>
> '<a href="http://compare-route-server-prefix.pl" rel="noreferrer noreferrer" target="_blank">compare-route-server-prefix.pl</a> <br>
> <<a href="http://compare-route-server-prefix.pl" rel="noreferrer noreferrer" target="_blank">http://compare-route-server-prefix.pl</a>>'. I run that script on Server <br>
> Running Bird, so it's separated with Server Running IXP-Manager.<br>
<br>
Okay, different server to where MySQL is also then.<br>
<br>
> The error showed this "DBI <br>
> connect('database=ixp;host=localhost;port=/var/run/mysqld/mysqld.sock'','root',...) <br>
<br>
> This is my ixpmanager.conf configuration<br>
> "<br>
> <br>
> <sql><br>
> dbase_type = mysql<br>
> dbase_database = ixp<br>
> dbase_username = root<br>
> dbase_password = **188**<br>
> dbase_hostname = localhost<br>
<br>
So the issue is 'localhost'. You need to:<br>
<br>
a) replace this with the IP / hostname of the IXP Manager instance where <br>
I assume MySQL is running<br>
<br>
b) ensure MySQL is listening on tcp/3306 and not firewalled / firewalled <br>
so as to allow access from your Bird server<br>
<br>
c) that the MySQL user has permissions to access the database from the <br>
Bird server.<br>
<br>
[side note: using the 'root' user in MySQL is not advised - you should <br>
create a dedicated user for this]<br>
<br>
- Barry<br>
<br>
<br>
<br>
<br>
</blockquote></div>