Results 1 to 10 of 10

Thread: custom script on database events

  1. #1
    Join Date
    Aug 2009
    Posts
    122

    custom script on database events

    I'm interested to know if there's any custom script for events below:
    mysql user created
    mysql user password change

    in /usr/local/directadmin/scripts/custom/README I didn't find anything related to those events,

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  3. #3
    Join Date
    Aug 2009
    Posts
    122
    Quote Originally Posted by zEitEr View Post
    Thanks, but what if the client has changed a mysql user's password via DirectAdmin interface?

  4. #4
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    I don't know what you want to achieve, so I can't give you more suitable solution.

    Directadmin sends queries to MySQL at the end...on working with MySQL credentials.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  5. #5
    Join Date
    Aug 2009
    Posts
    122
    I want to save last Mysql credential of my clients in a data base, so I need an additional custom script like Mysql_user_modify_post.sh
    Does DA support such script?

  6. #6
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    You already have all MySQL credentials stored in a special database.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  7. #7
    Join Date
    Aug 2009
    Posts
    122
    Would you please let me know which data base?
    Aren't they encrypted?

  8. #8
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    MySQL stores accounts in the user table of the mysql database. Sure, passwords are encrypted.

    MySQL 5.0 http://dev.mysql.com/doc/refman/5.0/...anagement.html
    MySQL 5.1 http://dev.mysql.com/doc/refman/5.1/...anagement.html
    MySQL 5.5 http://dev.mysql.com/doc/refman/5.5/...anagement.html
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  9. #9
    Join Date
    Aug 2009
    Posts
    122
    Thanks, but as they are encrypted it's useful in my case,
    the Mysql_user_modify_post.sh is required.

  10. #10
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    So you should post a request in a proper subforum. I guess you have little chance to get it... but who knows.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

Similar Threads

  1. suspension custom script
    By beliy in forum Feedback & Feature Requests
    Replies: 3
    Last Post: 12-01-2012, 02:26 PM
  2. custom login script
    By gadgetsguy in forum General Technical Discussion & Troubleshooting
    Replies: 5
    Last Post: 09-13-2010, 09:35 AM
  3. Custom script after update
    By AxlF in forum CustomBuild
    Replies: 1
    Last Post: 07-13-2010, 01:06 PM
  4. Custom Script required - anyone help?
    By DaveBeasley in forum Scripting / API
    Replies: 1
    Last Post: 05-23-2008, 03:06 PM
  5. Custom Adduser script
    By plugin in forum DirectAdmin General Discussion
    Replies: 0
    Last Post: 08-24-2004, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •