Hello
I am trying to connect to the mysql database available at ensembl in order to perform some query with the follwoing code but i Get a "Could not connect:" message so I am wondering if I failed because I am not allowed to perform connection out of my network for security reason.
So if someone has the time to test it and to connect successfully I would appreciate.
Thanks in advance.
<?php
$link = mysql_connect('ensembldb.ensembl.org:3306', 'anonymous', '');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
Actually it's detailed at http://www.ensembl.org/info/data/mysql.html. The pre-v47 release is on 3306 and anything post is on 5306.
Actually it's detailed at ensembl.org/info/data/mysql.html The pre-v48 release is on 3306 and anything post is on 5306
Actually it's detailed at ensembl.org/info/data/mysql.html Version47 and prior releases are on 3306 and anything post is on 5306