MySQL Routines Not Showing in Workbench Object Browser - mysql

I recently had to reinstall MySQL. After doing so and restoring databases, I find that in one of my databases that the routines are not displaying in the object browser of Workbench. If I issue select * from mysql.proc in the query window, I do see all the routines. Also, my application that uses the routines has no problem running and accessing. I just can't see them any longer from the object browser in Workbench. I do see the routines of other databases but just one database is giving me the problem. Any suggestions on the problem here?

I upgraded to the latest version of MySQL and the routines now are showing again.

Related

An error happened while reading data from the provider: A call to SSPI failed, see inner exception

Grr - I hate upgrades that break things
I have upgrade MySql Connector/Net to 8.0.31 from I think it was 8.0.28. And also the ODBC (both 32 and 64 bit) to same.
I think this has broken my Excel Power Query connectors which connect a spreadsheet to a database as I'm getting the title error message. Having similar issues with Power BI connectors as well.
I can't trace the inner exception as there is no ability with Excel / Power Query to do this unless I missing something. Other answers talk about this being security stuff but I have no way of changing/altering this.
Even more frustrating is that this message appears on some of my databases but not all.
The underlying MySql database is very old at 5.6.10 (and I have no way of upgrading this)
I'd downgrade back to 8.0.28 (at least it worked) but I'm not sure how feasible of otherwise that is. I get the impression
I can happily query via a SQL tool (e.g. dbeaver or MySQL Workbench) so this is something else.
Any ideas on what I can do to fix this?
Thanks
EDIT:
So I downgrade MySQL Connector t0 8.0.28 (by using Windows Programs and uninstall the various MySQL 'upgraded' component so that downgrade to versions I wanted)
Still had the error. It is very much a security issue and disabling encrypted connection has fixed most of it.
Like to know why this happened as not happy exposing more than I want too.
Phew.
My workaround is to use an odbc connection string.
you'll need the MySQL ODBC driver instead of the .NET that cause the issue.
Download here: https://dev.mysql.com/downloads/file/?id=513647
In powerBI go to 'Get data' and select more. On the bottom of the list of sources is the 'Other' option and about half way is the ODBC.
In case you need an example: https://www.connectionstrings.com/mysql-connector-odbc-5-2/

MySQL Workbench - cannot manipulate users

I have a problem with MySQL Workbench. I cannot add or edit users on the database. Since I can make changes via queries I believe it's not MySQL server related but limited to Workbench. I upgraded to the latest version but still the same. Anyone experienced something similar?

MySQL table crashes only after repair

I am using WordPress with MySQL. My site recently crashed (due to some out-of-memory problem with the database)
Once the site was up, it seemed fine, but just in case I ran "repair" (from phpmyadmin) on the DB. After that, it crashed my "wp_posts" table. I restored the DB from an older version, again - the table seemed fine. Again, I ran the "repair" and the same table crashed.
I am on a VPS server. So I don't have root access, but I can ask the web admins to check things.
Any idea what might be causing this / how to solve it?
Thanks.
This is a MySQL server configuration problem. I've had the same problem. In my case it was due to a MySQL system variable called myisam_sort_buffer_size being set to an absurdly small value (4096). This interfered with the repair table operation. In my case, the wp_posts file and others used the MyISAM access method. If yours use InnoDB, you'll want to look at the variables controlling that access method rather than MyISAM.
Issue this command to your MySQL server:
show variables like '%buffer_size'
Then look for variables which seem low.
You may also want to look at the MySQL server error log file.
If you run the server yourself, please be careful making configuration changes: Read the doc page first. http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html
If your hosting provider runs the server, put in a request ticket, ask that it be escalated to a support person who knows about MySQL, and be specific about what is going wrong.

MySQL Server vs XAMPP

I just migrated my table to MySQL Server 5.6 in order to get full use of my system memory since XAMPP doesn't allow you to do so because its MySQL is based on a 32-bit arch. I also downloaded MySQL Workbench to control my server. HOWEVER, all of my queries take almost 2 seconds longer than when I had my server running on XAMPP profile. I activate my old server and everything is back to normal...
I checked all of the configuration variables and have set them exactly the same and still nothing changes.
Is there something I'm not seeing understanding here?
Which engines do you use?
How large are your tables?
Maybe this helps
When should database indexes be rebuilt?

the difference between mysql server and mysql workbench

I've instaled MySQL workbench in Windows 7 64bit. Unfortunately, I'm facing problems:
In the Object Browser, when I click on my DB and right click on tables to create one, I can not insert any column (disabled) and therefore, can not insert tables. check this:
Can not create table in MySQL workbench 5.2.40
I can create table from the EER model. But even though, I faced problems when tried to connect my Java application to this database.
MySQL and Java: table doesn't exist
I have searched, and not sure from this, some of what I found is that workbench have probelms with Windows 7 - 64 bit (any idea if this is correct??). The only version I found was for 68, it installed successfully but I'm having probems.
I want to downlod MySQL server but before that: Will Mysql Server give me the same features that the workbench does? I need to work with GUI (insert, delete, update,..etc).
EDIT:
Also, the table I added using the EER are not visible in the Object browser. I only can see the schema in the Object browser without any table underneath it.
MySQL Workbench is a MySQL Server GUI. The two are different products. MySQL Workbench requires a MySQL Server connection for most tasks (except for data modeling). This reliance on a MySQL connection is clearer in the latest version of MySQL Workbench (6.1) than it was in 5.2.
MySql Workbench and MySql Server both are completely different things. MySql Server is basically a database and MySql workbench is a GUI or graphical management tool which helps us interact with MySql server database.
Similarly, SQL Server Management Studio is the graphical management tool for SQL Server.
Both are for manipulate the structure, queries and function, procedure, etc....
In Both you can Use DML and DDL
If you ask me I love Server even if you can create really cool designs on workbench, but basically you can do the same in both (insert, delete, update,..etc and more)
So it's up to you, I think MySQL server is a little bit lighter that Workbench, but if you want to, try it both.
Workbench looks like more friendly