Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:36:06+00:00 2026-05-30T00:36:06+00:00

A helpful user was able to help me create a MySQL UDF for custom

  • 0

A helpful user was able to help me create a MySQL UDF for custom sorting. What’s the suggested approach for storing this UDF so that it’s always available? I’ve read that if the server restarts, the UDF is lost. Restarts are likely to be frequent, as this is on a local Windows network server that has a variety of roles and admins.

Right now I’m just going to drop and recreate it on client-side login. Logins won’t be terribly frequent – it’s used by a staff of about 11. I assume this is not the most efficient approach.

I think I read it’s possible to write it in C and store it in a .dll, but this is probably beyond my skill level.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:36:07+00:00Added an answer on May 30, 2026 at 12:36 am

    It looks like you’re working with a stored routine, not a user-defined function. In MySQL, UDFs are always compiled extensions, while stored routines are always just SQL.

    The manual pages suggest that neither will ever simply disappear. There are a variety of ways to query information about stored routines, including getting the creation date, who created it, and even the function body as defined. You could easily check if it’s missing, and add it if needed. You should also probably log this event, as it simply should not be happening.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To show, for example.... USER@SID > I thought this was potentially helpful to a
I'm currently struggling with this problem. The situation is that I have a user
This helpful idea from Andy Gaskell supports 50% of my next question: I'd like
This question was very helpful, however I have a list control in my report,
Per this helpful article I have confirmed I have a connection pool leak in
That was helpful kgiannakakis. I'm facing a problem as below: a = ['zbc','2.3'] for
I am writing an app that requires the user's current location (lastknownlocation won't be
What ways can you dynamically create controls in C#? This was objects at first
I've already looked at this , which was helpful to a point. Here's the
I have a UIWebView inside UIScrollView . This idea is to be able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.