CentOS 5 :: Unable To Connect To Remote Centos MySql Server Using PHP?
Aug 8, 2011
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
View 2 Replies
ADVERTISEMENT
May 4, 2009
I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.
View 5 Replies
View Related
Feb 5, 2009
telnet localhost the output is...
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
I don't understand what is the problem. Its not configured properly how do i configure it?
View 7 Replies
View Related
Sep 14, 2011
I have installed CENTOS 5.0 .. IM new to this centos linux..
-->regarding the remote connection
how can i connect the server through remote from windows 7 ..graphical interface ?
how to install lamp or apache , php , mysql
can u guys provide me any link or book for as a beginner for centos ?.
View 3 Replies
View Related
Sep 25, 2009
php can't connect mysql by 'localhost' but can connect by IP address:
[Code]...
View 3 Replies
View Related
Dec 15, 2009
I installed Centos 5.3 with package standard of the MYSQL, configured this the same twirling in such a way localhost as in one it schemes with windows VISTA, to put I have others 4 you scheme with windows XP that I do not obtain to have access in the MYSQL. What I have to make pra these you scheme with XP to have access?
View 5 Replies
View Related
Apr 26, 2010
During the boot of CentOs I see this message which never stops scrolling during all the boot :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
View 3 Replies
View Related
Feb 11, 2009
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.
View 3 Replies
View Related
Feb 8, 2010
I have problem with connection to mssql 2000 from centos. i have installed php, freetds, unixOBDC on server Centos. My mssql server on another computer (windows xp). Now, when i tried to connect mssql with php : >> mssql_connect("192.168.179.100","sa","sa")
Centos return to me "Unable to connect to server: 192.168.179.100 in /var/www/html/work/test.php on line 15 "
note: mssql is running on windows, and user and password is same "sa".
View 12 Replies
View Related
Jun 21, 2010
I am looking into setting up replication in a production environment but currently this is on two test machines. I am following the documentation at [URL] but I am unable to get past "16.1.1.10 Setting the Master Configuration on the Slave". When I do the CHANGE MASTER TO I am getting a syntax error for some reason. What am I doing wrong? These servers run "CentOS release 5.5 (Final)" and "MySQL 5.0.77-log Source distribution" installed via yum. The only changes from default are that I created a single database on the master before doing the table lock and dump, then everything else has been done exactly to what the documentation states, but is still failing.
The option skip-networking is not in the config file on either server and neither one runs SELinux or any firewall.
mysql> CHANGE MASTER TO
-> MASTER_HOST='192.168.1.220'
-> MASTER_USER='repl'
-> MASTER_PASSWORD='removed'
[Code]....
View 3 Replies
View Related
Oct 21, 2009
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
[Code]...
View 2 Replies
View Related
May 14, 2010
I would like to connect to a separate mysql server, yet I can't find any documentation on how to do this.How would one achieve this? I am running qmail on centos4.
View 3 Replies
View Related
Jun 13, 2009
I setup mysql v5 on centos, follow all the instruction i was able to google for to enable remote access, I am able to log in to -h localhost and -h (external IP address) from same server, I am able to telnet to 3306 using localhost and external ip address, BUT when I try to connect from deferent server i get host unreachable error H3000 (113) and telnet also is not able to connect via port 3306 I covered all the bases but stii no luck. same setup works for slackware no problem and there is no issue with client.
View 1 Replies
View Related
Aug 1, 2009
I have 2 server behind the netgear router on my network . win2k3 and CentOS development server, I have port forarded 80 to win2k3 server which i can access over the internet and is accessable. However I can SSH CentOS machine and portforwarded 8080 and 82 for web access, I can't access via any of the port, browsers says UNABLE TO CONNECT.. there is no firewall in CentOS machine.
View 1 Replies
View Related
May 18, 2011
I need to connect a Server CentOS 5.6 with DB MySQL with a DB SQL Server 2008 on Windows Server 2008 R2 64bit, but i don't know how to do this.
So that MySQL DB has to import data from SQL Server on Windows Server.
View 1 Replies
View Related
Jul 29, 2010
I'm currently in the last steps of migrating a CentOS mailserver to the x64 version.However, under the old 32 bit version, I was using XRDP to access the Centos box from my Windows boxes.However I can't seem to find the XRDP package in the standard repos so this is prompting me to look at possible alternatives (XRDP was incompatible with my windows 7 box anyway soI had to RDP to another server of ours running 2003 to RDP into the mailserver which was far from ideal).Basically, I'd like to be able to seamlessly access the Centos box with a standard RDP client.
I know VNC Server/Clients would be an option but RDP gives me the freedom of any windows box being able to access the server on the same adress/port without installing software on any windows box I encounter.Are there any viable alternatives to XRDP ?There's no "add-on" to VNC server that could enable it to accept RDP connections ?
View 5 Replies
View Related
Jun 4, 2009
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community
View 16 Replies
View Related
May 18, 2011
I need some features that are only available in MySQL 5.1 or later. Can I get MySQL 5.1 for CentOS? What is the best way to install it?
View 9 Replies
View Related
Mar 3, 2009
I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -
[mysqld]
datadir=/var/lib/mysql
socket = /var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
[Code]...
View 16 Replies
View Related
Jan 5, 2010
I've problems to connect a remote PC with SSH. I got always the error message: Permission denied (publickey,gssapi-with-mic).Here with command line:
advantech@headnode:~$ ssh root@172.21.35.121
Permission denied (publickey,gssapi-with-mic).
View 3 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
Nov 6, 2010
I have an i5 Thinkpad running Windows 7 64-bit. VT is enabled in the BIOS. I have installed vmware server v 2.0.2 but am unable to install Centos 5.5 x86_64 as a guest OS. The steps that I followed are as follows:1. Created a new VM, specifying RHEL 5 64-bit as the intended guest OS (per vmware documentation - Centos is not available as a selection2. Downloaded all 8 iso files for Centos v5.5 64-bit3. Modified the CD/DVD drive to 'connect at power' and use an iso with the path pointing to the x86_64 iso 1 of 8When I power up the VM, the console window displays 'ISOLINUX 3.11 2005-09-02 Copyright (C) 1994-2005 H. Peter Anvin' and nothing else. The installation splash screen never appears. As a test, I downloaded the first of 7 iso files for the 32-bit version of Centos 5.5 and pointed the CD/DVD drive to that iso. In that case, the installation starts as expected. I would really like to get the 64-bit version installed and running.
View 3 Replies
View Related
May 30, 2011
i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.
View 6 Replies
View Related
Apr 21, 2011
iam not able to connect localhost in mysql.i uswd command for mysql is
#mysqladmin -u root -h localhost password "123456"
ErroR:-
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
View 1 Replies
View Related
May 11, 2010
I am not able to connect to the Remote VNC Server..Error: ConnectToTcpAddr: connect: Connection refused.
View 6 Replies
View Related
Jul 27, 2009
I install one server in my system(linux 5.0) and accessing that server through the 127.0.0.1 private ip address(lo). While i connect to a remote server for validating registry it gives me the error and unable to connect to remote server. here some of the files i give here in below to know my system network configuration
/etc/hosts
------------
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 cp.softidsolutions.org
[code]....
View 5 Replies
View Related
Jun 4, 2011
I installed dovecot on my server and now the imap and pop3 ports are open.But when I want to telnet it, it's not possible.Code: Trying 127.0.0.1...telnet: Unable to connect to remote host: Connection timed out.Also I can't any ports else. But I can connect to it from other computers. I tried to connect to this from my PC and it was successful.
View 7 Replies
View Related
Aug 9, 2011
How can i connect to FortiGate1 SSL VPN Remote Access router from Fedora/CentOS or Ubuntu/Debian?It only working with Windows Internet explorer for the moment using Vbox (But i cant use Windows only for this)How can i use it from my favourate Linux?
# vpnc
Enter IPSec gateway address: xx.xx.xx.42
Enter IPSec ID for xx.xx.xx.42:
[code]....
View 1 Replies
View Related
Feb 11, 2010
I am not able to connect to Mysql using hibernate.
Is there any configuration in my.cnf or any where i used:
This configuration in my.cnf but still i am not able to connect. Can any one helps me. I am newer to mysql,
Why to use debian.cnf,mysqld_safe_syslog.cnf
View 1 Replies
View Related
May 13, 2010
I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.
Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).
No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.
The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"
View 2 Replies
View Related