Bing Dicklepuss Posted February 1, 2011 Share Posted February 1, 2011 Apache/2.2.14 (Ubuntu) MySQL client version: 5.1.41 PHP extension: mysqli I have set up a web server on an ubuntu machine inside my home network. I can connect to it via FTP (although that connection is strangely very slow), and I can access the databases through phpMyAdmin. But when trying to set up Dreamweaver on my Windows machine to connect remotely, I keep getting a 403 error. I am entering the correct, newly created user and password for the db I am trying to access. I tried connecting by specifying the host IP address (inside the network) and by using the web address (which may amount to the same thing, since i have it aliased in my hosts file). I have used Dreamweaver to connect to other webhosts, so perhaps there is some problem with my.cnf on the host machine. Some my.cnf settings that might be relevant: <code>skip-external-locking bind-address = 127.0.0.1</code> What confuses me is that phpMyAdmin works without any problems. If it can connect, why can't I? Is there a way I can test a remote connection to the db outside of Dreamweaver that might enable me to troubleshoot the problem more efficiently? Thanks, Bing Quote Link to comment https://forums.phpfreaks.com/topic/226399-trying-to-connect-to-mysql-through-network-403-error/ Share on other sites More sharing options...
requinix Posted February 1, 2011 Share Posted February 1, 2011 Are you trying to get DW to use the phpMyAdmin web address? That won't work. It needs to connect to the database directly. Quote Link to comment https://forums.phpfreaks.com/topic/226399-trying-to-connect-to-mysql-through-network-403-error/#findComment-1168593 Share on other sites More sharing options...
ttocskcaj Posted February 2, 2011 Share Posted February 2, 2011 PHPMyAdmin(php in general) would be able to access the MySQL server if they are running on the same machine because then it's not going through the network. On you router or whatever, is there a firewall blocking the MySQL port? (Normally 3306) Quote Link to comment https://forums.phpfreaks.com/topic/226399-trying-to-connect-to-mysql-through-network-403-error/#findComment-1168733 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.