From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI])
Date: Sun, 8 Jan 2006 13:58:23 -0800 [thread overview]
Message-ID: <5bdc1c8b0601081358s51f643e9pde47ba5714acbcfa@mail.gmail.com> (raw)
In-Reply-To: <5bdc1c8b0601081354r431b8cc2p9bab4463e0e4cd0e@mail.gmail.com>
> > What instructions? Are you referring to the GRANT line? I did that
> > yesterday. As for the mythbackend server IP, I set that two or three
> > days ago. It's in the database correctly:
> >
> > mysql> select * from settings WHERE value = 'BackendServerIP';
> > +-----------------+-------------+----------+
> > | value | data | hostname |
> > +-----------------+-------------+----------+
> > | BackendServerIP | 192.168.1.3 | camille |
> > +-----------------+-------------+----------+
> > 1 row in set (0.00 sec)
> >
> > What else do I need to do?
>
> Again, I'm not that good on this stuff but it's this basic command:
>
> The specific grant command is this one, or something like it:
>
> % mysql -u root -p
> mysql> GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'remotehost'
> IDENTIFIED BY 'password'
>
> Before you do that make sure you have camille's address in /etc/mysql/my.cnf:
>
> # keep secure by default!
> bind-address = 192.168.1.3
> port = 3306
> # this can make it even more secure:
>
> Make sure you have 192.168.1.3 in the mythsetup stuff for the server.
>
> At this point you should try logging into the mysql server from a
> terminal on both the server and your wife's machine. If you cannot log
> in then neither can Myth. From my terminal on a frontend only PC:
> (default password was mythtv on my system)
>
> dragonfly ~ # mysql -u mythtv -h 192.168.1.55 -p mythconverg
> Enter password:
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 123 to server version: 4.0.25
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql> exit
> Bye
> dragonfly ~ #
>
> Hope this helps,
> Mark
>
Note that you can also check that mysql is even listening on the
correct port by running netstat on the backend machine:
dragonfly ~ # netstat -apn | grep mysql
tcp 0 0 192.168.1.55:3306 0.0.0.0:*
LISTEN 6493/mysqld
tcp 0 0 192.168.1.55:3306 192.168.1.14:1343
ESTABLISHED 6493/mysqld
tcp 0 0 192.168.1.55:3306 192.168.1.14:1401
ESTABLISHED 6493/mysqld
tcp 0 0 192.168.1.55:3306 192.168.1.14:1400
ESTABLISHED 6493/mysqld
unix 2 [ ACC ] STREAM LISTENING 9281 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 106522 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 106520 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 104027 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 9913 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 9725 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 9652 6493/mysqld
/var/run/mysqld/mysqld.sock
unix 3 [ ] STREAM CONNECTED 9577 6493/mysqld
/var/run/mysqld/mysqld.sock
dragonfly ~ #
Cheers,
Mark
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-01-08 22:06 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-29 17:53 [gentoo-user] OT - Need MythTV setup help (resend) Michael Sullivan
2005-12-30 1:06 ` [gentoo-user] " Michael Sullivan
2005-12-30 22:08 ` Michael Sullivan
2005-12-31 3:30 ` Bob Sanders
2005-12-31 6:40 ` Michael Sullivan
2005-12-31 17:18 ` Bob Sanders
2006-01-01 22:30 ` Michael Sullivan
2006-01-01 22:47 ` Michael Sullivan
2006-01-01 22:57 ` Michael Sullivan
2006-01-02 1:47 ` Bob Sanders
2006-01-02 3:20 ` Bob Sanders
2006-01-02 3:27 ` Michael Sullivan
2006-01-02 5:05 ` Michael Sullivan
2006-01-02 5:15 ` Michael Sullivan
2006-01-02 5:21 ` Michael Sullivan
2006-01-08 0:42 ` Michael Sullivan
2006-01-08 3:50 ` Bob Sanders
2006-01-08 4:35 ` Michael Sullivan
2006-01-08 5:17 ` Michael Sullivan
2006-01-08 16:50 ` Bob Sanders
2006-01-08 17:32 ` Mark Knecht
2006-01-08 17:53 ` Michael Sullivan
2006-01-08 18:18 ` Mark Knecht
2006-01-08 18:31 ` Michael Sullivan
2006-01-08 18:37 ` Michael Sullivan
2006-01-08 18:58 ` Mark Knecht
2006-01-08 19:10 ` OT - Need help with mythfronted GUI (WAS[Re: [gentoo-user] Re: OT - Need MythTV setup help (resend)]) Michael Sullivan
2006-01-08 19:22 ` Mark Knecht
2006-01-08 19:36 ` Michael Sullivan
2006-01-08 19:41 ` Michael Sullivan
2006-01-08 20:28 ` [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI]) Michael Sullivan
2006-01-08 20:46 ` Mark Knecht
2006-01-08 21:13 ` Michael Sullivan
2006-01-08 21:54 ` Mark Knecht
2006-01-08 21:58 ` Mark Knecht [this message]
2006-01-08 22:21 ` Michael Sullivan
2006-01-08 22:20 ` Michael Sullivan
2006-01-08 22:40 ` Mark Knecht
2006-01-08 23:20 ` [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI]) [SOLVED] Michael Sullivan
2006-01-08 23:58 ` Mark Knecht
2006-01-08 20:19 ` OT - Need help with mythfronted GUI (WAS[Re: [gentoo-user] Re: OT - Need MythTV setup help (resend)]) Mark Knecht
2006-01-08 20:25 ` Mark Knecht
2006-01-08 17:57 ` [gentoo-user] Re: OT - Need MythTV setup help (resend) Michael Sullivan
2006-01-08 21:04 ` Bob Sanders
2006-01-08 21:18 ` Michael Sullivan
2006-01-08 22:49 ` John Myers
2006-01-09 0:31 ` Mark Knecht
2006-01-02 17:21 ` GARTInit: WAS (Re: [gentoo-user] Re: OT - Need MythTV setup help (resend)) Michael Sullivan
2006-01-02 20:17 ` Rumen Yotov
2006-01-02 18:30 ` Michael Sullivan
2006-01-02 21:01 ` Rumen Yotov
2006-01-02 19:12 ` Ted Ozolins
2006-01-02 19:22 ` Michael Sullivan
2006-01-02 21:55 ` Ted Ozolins
2006-01-02 19:21 ` Michael Sullivan
2006-01-02 21:55 ` Rumen Yotov
2006-01-02 21:29 ` Michael Sullivan
2006-01-03 6:53 ` Rumen Yotov
2006-01-03 16:05 ` Michael Sullivan
2006-01-03 18:23 ` Rumen Yotov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bdc1c8b0601081358s51f643e9pde47ba5714acbcfa@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox