MySQL Forums
Forum List  »  Microsoft SQL Server

Can't connect to MySQL server on 'jabber.jp'
Posted by: Rambo Relax
Date: April 20, 2011 08:25AM

Hi i want creat gluxi bot on jabber server with debian linux but after config that and want to run gluxi error accurs : Can't connect to MySQL server on 'jabber.jp' (110) QMYSQL: Unable to connect

for run bot i read the manual:

mysql -u root

create database gluxi; # # grant all privileges on gluxi.* to gluxi@localhost identified by 'your_db_password' with grant option;

mysql -u root -D gluxi < mysql.sql
mysql -u root -D gluxi < config.sql
cd /home/gluxi-dev/sql/update/
nano dbupdate.sh

#!/bin/sh

DBHOST="localhost"
DBNAME="gluxi"
DBUSER="gluxi"
DBPASS="gluxi"
DBTYPE="$1"

#edit database name, password, host, user

./dbupdate.sh mysql

cd /home/gluxi-dev/debug/
nano gluxi.cfg


[database]
type=QMYSQL
server=testing
port=3306
user=dion
password=mysql
database=gluxi

chmod +x gluxi
su your_user
./gluxi

=======================================================

I did the fallowing like:

create database gluxi; # # grant all privileges on gluxi.* to mgluxi@jabber.jp identified by 'User Password=>(mgluxi@jabber.jp)' with grant option;


DBHOST="jabber.jp"
DBNAME="gluxi"
DBUSER="mgluxi"
DBPASS="User Password"
DBTYPE="$1"

and finally



[database]
type=QMYSQL
server=jabber.jp
port=3306
user=mgluxi
password=User Password
database=gluxi


after i run ./gluxi it show me:

Can't connect to MySQL server on 'jabber.jp' (110) QMYSQL: Unable to connect


where i did wrong ?!?
Anybody can help me please ?!?

Options: ReplyQuote


Subject
Written By
Posted
Can't connect to MySQL server on 'jabber.jp'
April 20, 2011 08:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.