Home |  MySQL Buzz |  FAQ |  Feeds |  Submit your blog feed |  Feedback |  Archive |  Aggregate feed RSS 2.0 English Deutsch Español Français Italiano 日本語 Русский Português 中文
Previous 30 Newer Entries Showing entries 31 to 35

Displaying posts with tag: authentication (reset)

MySQL Proxy: Roles
Employee +2 Vote Up -0Vote Down

On the MySQL Proxy channel we get questions from time to time if the authentication can be intercepted and replaced data from a external source.

From now on, you can. For example if you want to get data from a external source (like LDAP) or want to implement roles.

Mapping Accounts to “Roles”

There isn’t much needed to implement Roles for MySQL with the help of the MySQL Proxy.

  • mysql.user doesn’t contain users, but roles instead
  • the proxy maps user-accounts to role-accounts with a script like above

It works like this:

  • login to the proxy

     $ mysql --user=jan --password=secret --port=4040
  • proxy looks up username password, finds a role for him

  • proxy replaces credentials ad hoc

  • mysql-server sees the role-name and

  •   [Read more...]
    MEM and HTTP Proxy Not Compatible
    Employee +1 Vote Up -0Vote Down
    A bug in libcurl affects how the heartbeat function of MySQL Enterprise Monitor works by sending it to an external website, often www.agent.com.
    MEM and HTTP Proxy Not Compatible
    Employee +0 Vote Up -0Vote Down
    A bug in libcurl affects how the heartbeat function of MySQL Enterprise Monitor works by sending it to an external website, often www.agent.com.
    MEM and HTTP Proxy Not Compatible
    Employee +0 Vote Up -0Vote Down
    A bug in libcurl affects how the heartbeat function of MySQL Enterprise Monitor works by sending it to an external website, often www.agent.com.
    Generate a GnuPG key
    +0 Vote Up -0Vote Down
    to generate a gpg key, run the following:

    gpg --gen-key

    when that completes, run

    gpg --list-keys

    for instance, to get the key information from my pub key, I run:

    $ gpg --list-keys cjcollier@mysql.com
    pub 1024D/6CC27EA8 2001-04-27
    uid C.J. Collier
    uid C.J. Collier
    uid C.J. Collier
    uid [jpeg image of size 9187]

    After you generate it, you should publish your public key:

    gpg --keyserver pgp.mit.edu --send-keys

    mine looks like this:

    $ gpg --keyserver pgp.mit.edu --send-keys 6CC27EA8
    gpg: sending key 6CC27EA8 to hkp server pgp.mit.edu

    You can get my GnuPG key with the following command:

    $ gpg --keyserver pgp.mit.edu --recv-keys 6CC27EA8

    Let me know what your ID is when you





























      [Read more...]
    Previous 30 Newer Entries Showing entries 31 to 35

    Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    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.