Jump to content
Fórum Script Brasil
  • 0

Erro ao criar PROCEDURE




Quando tento executar um comando para criar uma PROCEDURE, este erro aparece: "Error Code: 1558. Column count of mysql.proc is wrong. Expected 21, found 20. Created with MariaDB 100108, now running 100411. Please use mysql_upgrade to fix this error"

Pesquisei e executei este comando: 

sudo mysql_upgrade -u root -p

Que me retornou este erro: "mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server. Upgrade process encountered error and will not continue."

Como posso resolvê-lo?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...