Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mythtv mysql error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Sun Sep 28, 2003 3:00 pm    Post subject: mythtv mysql error Reply with quote

im running gentoo x on my xbox and i cant connect to the master backend at all....

here is the error msg...
Xbox root # mythsetup
Unable to connect to database!
Driver error was [1/-1]:
QMYSQL3: Unable to connect
Database error was:
Host '192.168.0.11' is not allowed to connect to this MySQL server

Unable to open database:
Driver error was:
QMYSQL3: Unable to connect
Database error was:
Host '192.168.0.11' is not allowed to connect to this MySQL server

but when i try to access the mysql server and do the following:
mysql> grant all on mythconverg* to mythtv@*192.168.0.%* identified by *mythtv*;

i get this:
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '*to mythtv@*192.168.0.%* identified by *mythtv*' at line 1

i have compiled qt 2x with the mysql in my use flags so i know that is not the issue... im pretty sure that all i need to do is add access for my other boxes to access the sql server remotely... if anyone know the proper syntax or has any ideaas please help :)

thank you in advance
Back to top
View user's profile Send private message
kamikaze_gerbil
n00b
n00b


Joined: 08 Feb 2003
Posts: 71
Location: Vancouver, Canada

PostPosted: Sun Sep 28, 2003 5:51 pm    Post subject: Re: mythtv mysql error Reply with quote

bruor wrote:

but when i try to access the mysql server and do the following:
mysql> grant all on mythconverg* to mythtv@*192.168.0.%* identified by *mythtv*;


should those asterisks be there?
According to mythtv site try:

mysql> grant all on mythconverg.* to mythtv@"%.mydomain.com" identified by "mythtv";
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Mon Sep 29, 2003 11:48 am    Post subject: Reply with quote

thank you for the post....

i just was thinking perhaps i shouldnt be trying to do this on the xbox while its hooked to the tv... i was wondering about those asterisks...
;)
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Mon Sep 29, 2003 12:06 pm    Post subject: Reply with quote

that worked so far now i have to test connection to the dbase ill try it when i get home from work....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum