Windows client for MySQL 4.1 - mysql

Today i find myself administrating a 2003 MySQL database, does anyone know a Windows Client for MySQL 4.1?
I tried Workbench, DbVisualizer and DBeaver.
The problem mainly is from the auth, somewhere around version 4, MySQL changed the auth method, and the new clients no longer support that kind of connection.
Workbench in particular has an "use old authentication method" as a advanced option, but it seems that it's not enough.
I tried console connection and works just fine, but they are simply to many data and to many work to do to use only console (and the DDBB it's too big as well).
Before checking the "use old auth.." the error message was:
Error connecting to datasource "MySQL - DDBB"
SQL Error [1044] [42000]: Access denied for user 'user'#'%' to database 'information_schema'
Access denied for user 'user'#'%' to database 'information_schema'
Which make sense since the information schema table does not exists in that MySQL version (so i been told)
After checking and using the old auth method, the error is:
Your connection attemp failed for user 'user' from your host to server at ...... MySQL version is older than 5.0, which is not supported.
Anyone has an old client or the possiblity to bypass the old auth and work with a visual client for MySQL 4.1?

Heidi SQL worked just fine.
Also, you can try http://downloads.mysql.com/archives/workbench/
Problem solved.

You might also be able to connect in DBeaver using the MariahDB drivers which have the authentication method built in.

Related

Spring cloud dataflow not connecting to MySQL DB

I am trying to run my spring-dataflow-server-local with MySQL DB. But it says,
" java.sql.SQLInvalidAuthorizationSpecException: Access denied for user ''#'localhost' (using password: NO) "
I am running on my Windows Machine.
I used the same user name and password to connect to the same mysql from MySQL Workbench successfully.
I am running the dataflow server with the following command.
java -jar spring-cloud-dataflow-server-local-1.7.4.RELEASE.jar --spring.datasource.url=jdbc:mysql://127.0.0.1:3306/task_db --spring.datasource.username=username --spring.datasource.password=password --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
Please help me on how to fix this? anyone faced similar issues?
I have tested that the data flow server starts successfully using
Windows 10
MySQL 8.0.15
Java 1.8.0_66
With the same command line that you show. I used jdbc:mysql:localhost:3306/task_db and created the task_db schema before running the data flow server in the workbench.
When installing MySQL 8.0.15 there was an option for 'enhanced login security' or 'classic' security. I picked 'classic'.
Would need to know more of how your MySQL is set up.
To isolate things, try going through the getting started guide - there is a 'completed' folder you can just run - https://spring.io/guides/gs/accessing-data-mysql/ and see if you have any connection issues.

Netbeans won't connect to MySQL server

I installed Netbeans IDE 8.2 on Windows 10 and disconnected MySQL 8.0 because I planned to use JDBC, without realizing that the inherent connection was already using it. I now want to reconnect, but after entering all the information into the connect pane it gives me the error "Cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (Unable to load authentication plugin 'caching_sha2_password'.)"
Screenshot of error.
Has anyone else had this issue and has someone figured out how to fix it?
The problem does not seem to be with a password as I entered it correctly. Netbeans is "Unable to load authentication plugin 'caching_sha2_password'."
Create a new user with standard security login.
You can use standard Type, SHA256 Password or caching_sha_password.
Also, grant permissions to database that you want to access.

MySQL 8.0.11 error connecting due to caching_sha2_password

When I try to connect to server on MySQL Workbench, I get the error saying
Your connection attempt failed to user 'root' from your host to server as localhost:3306:
Authentication plugin caching_sha2_password cannot be loaded:
The specified module could not be found.
It seems like I do not have the module for caching_sha2_password installed. How do I install this plugin?
I tried to follow steps provided here. But this is my first interaction with MySQL, so I did not understand the steps.
For example, under Using SHA-2 Pluggable Authentication, it says
"storing those values in the plugin and authentication_string columns of the > mysql.user system table."
But where is the mysql.user system table and how do I access it and store the values?
Any help would be greatly appreciated!
You are looking at the wrong places. The story is this:
MySQL 8 introduced a new authentication method: caching_sha2_password which improves performance (hence the caching) for a secure authentication (the sha2 hashing). This breaking change had been made the default for new accounts pretty late so that MySQL Workbench (and quite a number of other client tools) could not be made ready for it when MySQL 8.0.11 was released. Unprepared client applications/libraries will show the mentioned error.
Many of the socalled "solutions" simply recommend to switch the authentication method to the older, less secure one (MySQL native). This is rather a hack than a solution. And keep in mind this only applies to new accounts which by default use the new auth method. Existing accounts (e.g. when you upgrade an older server to 8.0) still work as before, unless you explicitly changed the user's auth method.
Meanwhile MySQL Workbench catched up here and there's a release candidate (MySQL Workbench 8.0.11 RC) available on the MySQL download page (see the "Development Releases" tab). Use that for your 8.x server. A GA version will follow soon.

Integrated security with JDBC sonarQube is failing with error while connecting with sql server

I am trying to use Integrated security with JDBC connection and I kept following two properties as commented but still its saying it is using 'sonar' as username and password.
sonar.jdbc.username
sonar.jdbc.password
I tried to give my windows user name and password but still not working. I went through other posts but didnt help much.

Database query on MYSQL

I had installed Zend Server CE in my laptop and i have tried to open my phpMyAdmin page via my email address but i got following message ie (#1045 Cannot log in to the MySQL server). what is the possible solution.
Error #1045 means that you have provided wrong username or password.
http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html#error_er_access_denied_error
What have you already tried? Knowing nothing of that, here is what I would check:
Is there a MySQL server installed?
Is it running?
Can you use the MySQL command-line client to connect to the MySQL daemon?
That last step prompts its own series of troubleshooting steps, which mostly boil down to "are you using the right username/password and does that user have appropriate permissions." If you don't know how to suss that out, you should do some more research.