News for hackers. Stuff that matters.
Re:PhpMyAdmin Turns 15 by superuser2 on Monday September 09, 2013 @04:16PM (#6355863)
What do you use for MySQL development then? I usually find handwriting SQL queries to be obnoxiously verbose and I don't like the security implications of letting mysql listen on non-localhost interfaces (i.e. for an OSX administration tool).
Re:PhpMyAdmin Turns 15 by lukifer on Monday September 09, 2013 @05:22PM (#6356301)
For simpler tasks, I find adminer works very well: http://www.adminer.org/ Installation is as easy as uploading a single file. One advantage of that is you can mitigate any security risk by simply adding "die;" to the top of the file when you don't need it.
Re:PhpMyAdmin Turns 15 by matsur on Monday September 09, 2013 @05:01PM (#6356165)
SSH tunneling from your desktop to your MySQL host and connecting you admin client through that should alleviate the concerns around exposing 3306 to the world.
Re:PhpMyAdmin Turns 15 by snowwrestler on Monday September 09, 2013 @05:59PM (#6356551)
The most secure setup for administrative services is to whitelist their ports by IP address. For example port 22 (SSH) on our servers can only be hit by known-good IP addresses. You can do the same for MySQL's port, or use an SSH tunnel to hit MySQL through localhost.
Re:PhpMyAdmin Turns 15 by gonnakillme on Monday September 09, 2013 @09:44PM (#6357544)
Restricting SSH to "known-good" IP addresses is less flexible and less secure than public key authentication.

(Restricting mysql access to localhost and using an SSH tunnel is fine practice, AFAIK.)

Re:PhpMyAdmin Turns 15 by snowwrestler on Tuesday September 10, 2013 @01:19PM (#6361439)
It is less flexible, but it is more secure than using public key authentication by itself (public key auth can be used in conjunction with an IP whitelist).
Re:PhpMyAdmin Turns 15 by gonnakillme on Tuesday September 10, 2013 @02:11PM (#6361824)
I'm not sure an IP whitelist gives you anything -- it provides a handy mechanism for escalating privileges, both for intrusions on a machine at the "known-good" IP and for unintended network access in general.
Re:PhpMyAdmin Turns 15 by superuser2 on Tuesday September 10, 2013 @10:51PM (#6365203)
Um. No. Bouncing traffic through one device out of probably many at your house (when's the last time you updated the firmware on your TV? Your router?) is a lot more feasible than breaking public key encryption.
Re:PhpMyAdmin Turns 15 by Argorak on Monday September 09, 2013 @06:02PM (#6356566)
I don't use MySQL anymore and I use command line clients everywhere. But that wasn't the point.

Also, sequel (rubygem) comes with an awesome console to write SQL queries in.

Re:PhpMyAdmin Turns 15 by PavlovsCat on Monday September 09, 2013 @04:28PM (#6355961)
personally ( = db amateur) I like this a lot: https://code.google.com/p/sqlyog/downloads/list
Re:PhpMyAdmin Turns 15 by Arnor on Monday September 09, 2013 @05:10PM (#6356231)
MySQL CLI via SSH or MySQL Workbench.