Show a Warning on logon in MariaDBIs it possible to change the mysql welcome message?Installing MariaDB along...

Computation logic of Partway in TikZ

How do spaceships determine each other's mass in space?

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

Can one live in the U.S. and not use a credit card?

What would be the most expensive material to an intergalactic society?

When an outsider describes family relationships, which point of view are they using?

Translation of 答えを知っている人はいませんでした

Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?

If sound is a longitudinal wave, why can we hear it if our ears aren't aligned with the propagation direction?

Is there a way to make cleveref distinguish two environments with the same counter?

Giving a career talk in my old university, how prominently should I tell students my salary?

What is Tony Stark injecting into himself in Iron Man 3?

Idiom for feeling after taking risk and someone else being rewarded

I am the person who abides by rules, but breaks the rules. Who am I?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Short scifi story where reproductive organs are converted to produce "materials", pregnant protagonist is "found fit" to be a mother

Do Paladin Auras of Differing Oaths Stack?

How do we create new idioms and use them in a novel?

What is this tube in a jet engine's air intake?

Can I negotiate a patent idea for a raise, under French law?

Does the US political system, in principle, allow for a no-party system?

Converting from "matrix" data into "coordinate" data

Use Mercury as quenching liquid for swords?

When to use a QR code on a business card?



Show a Warning on logon in MariaDB


Is it possible to change the mysql welcome message?Installing MariaDB along with MySQL: Could not find mysqldMariaDB: mysql_install_db problemsCent0S 7 and MariadbCant read dir of /etc/my.cnf. (Errcode: 2)Can't Install MariaDB - Dependency Error?Couldn't join MariaDB Galera Cluster node back to cluster after software update. wsrep_* options in my.cnf seem to be ignoredMariaDB refuses remote connectionsmariaDB can't connect from remote hostMariaDB: Host '127.0.0.1' not privilegedMariaDB Optimization













0















I pretend to show a personalized message at login in MariaDB ver. 15 , in accordance with the data in one table.



My idea was to use a stored procedure as shown in fromdual.com but i can't find the my.cnf in my disk (I'm using Xampp), so i created the file and added SET GLOBAL init_connect="CALL audit.login_trigger()"; but now I have this error:



error: Found option without preceding group in config file: C:xamppmysqlmy.cnf at line: 1
Fatal error in defaults handling. Program aborted


Q1)What preceding group should I type?



Q2) is there any other method?
I have look in to this question but I need to check the tables to create the message.









share



























    0















    I pretend to show a personalized message at login in MariaDB ver. 15 , in accordance with the data in one table.



    My idea was to use a stored procedure as shown in fromdual.com but i can't find the my.cnf in my disk (I'm using Xampp), so i created the file and added SET GLOBAL init_connect="CALL audit.login_trigger()"; but now I have this error:



    error: Found option without preceding group in config file: C:xamppmysqlmy.cnf at line: 1
    Fatal error in defaults handling. Program aborted


    Q1)What preceding group should I type?



    Q2) is there any other method?
    I have look in to this question but I need to check the tables to create the message.









    share

























      0












      0








      0








      I pretend to show a personalized message at login in MariaDB ver. 15 , in accordance with the data in one table.



      My idea was to use a stored procedure as shown in fromdual.com but i can't find the my.cnf in my disk (I'm using Xampp), so i created the file and added SET GLOBAL init_connect="CALL audit.login_trigger()"; but now I have this error:



      error: Found option without preceding group in config file: C:xamppmysqlmy.cnf at line: 1
      Fatal error in defaults handling. Program aborted


      Q1)What preceding group should I type?



      Q2) is there any other method?
      I have look in to this question but I need to check the tables to create the message.









      share














      I pretend to show a personalized message at login in MariaDB ver. 15 , in accordance with the data in one table.



      My idea was to use a stored procedure as shown in fromdual.com but i can't find the my.cnf in my disk (I'm using Xampp), so i created the file and added SET GLOBAL init_connect="CALL audit.login_trigger()"; but now I have this error:



      error: Found option without preceding group in config file: C:xamppmysqlmy.cnf at line: 1
      Fatal error in defaults handling. Program aborted


      Q1)What preceding group should I type?



      Q2) is there any other method?
      I have look in to this question but I need to check the tables to create the message.







      mariadb my.cnf





      share












      share










      share



      share










      asked 5 mins ago









      EzeqEzeq

      61




      61






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957567%2fshow-a-warning-on-logon-in-mariadb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957567%2fshow-a-warning-on-logon-in-mariadb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...