I installed Xampp and lauchd the Apache and MySQL services. After that, while installing the ZKTIME + WEB 2.0 and configuring the server to connect to MySQL DB, it says Unknown Error
Is there a way to fix this?
If you are connecting to OLD version DB then please note that Old and New version DB schemas are different. I am getting same error.
If you try to connect after installation through WDMS server Management. Connection will be made but the WEB portal won't work because of schema difference.
Related
I can't connect to my database using the "new connection" option by right-clicking on Databases in the services tab. I get the following error:
Error Image
Here is information about the server to help with a solution:
Server info
Additional server info
The password I have saved in keychain for the server is "password1" and the connection isn't working even though I entered that.
Ok I finally figured it out. I had to update the MySQL connector driver for Netbeans. I had version "mysql-connector-java-5.1.23-bin" installed and needed to add the new driver "mysql-connector-java-8.0.18.jar" to match the version of MySQL Workbench that I have.
I'm trying for the first time to get my project to run in Visual Studio Code. This includes a MySQL database. So I've installed the SQL Server (mssql) extension version 1.7.1. I follow the instructions here: https://learn.microsoft.com/en-us/sql/visual-studio-code/sql-server-develop-use-vscode?view=sql-server-ver15
I get to the section "Connect to SQL Server" and enter:
servername: localhost
db name: c3
Authentication type: Integrated
At the end of the section it should connect with the server but instead I get two errors:
mssql: Error "Unable to connect using the connection information
provided. Retry profile creation?"
mssql: Error 2: A network-related or instance-specific error occurred
while establishing a connection to SQL Server. The server was not
found or was not accessible. Verify that the instance name is correct
and that SQL Server is configured to allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a
connection to SQL Server)
Does anyone see what is going wrong here?
I've re-installed the extension but with the same result.
A MySQL db and Microsoft SQL Server db are two different things.
It seems that there's no SQL Server installed? You might install the free SQL Server Express Version, create the database in there and then connect from Visual Studio Code.
You have to install the database server yourself as VS Code is just a client. You might also use somekind of hosted offers (many webhosters offer a mysql server with self service installation, or use a cloud based database server). Yout can also use a local database (e.g. SqlLite) which is file based and doesn't need a special installation.
You should do the following
install SQL server in your machine and create Database here
Create a login and a database user here
If you are Using VS code install SQL Server (mssql) open new
connection, follow the prompts to specify the properties for the new
connection profile
If you want to login to your server to make sure of your data
sqlcmd -S localhost -U SA -P '<YourPassword>'
I set an OBDC Connector on my Microsoft SQL server to set up a linked server to a MySQL database. The driver worked fine, and has always worked, but just recently we upgraded the web server to an SSL connection and everything goes through HTTPS. Since then the OBDC driver has been unable to connect at all. Any help or advice on how to deal with this would be great, thank you.
Turned out the solution was using an IP address to connect to the server instead of the domain name. I was using sql.example.com to connect to the server, but when I changed it to the actual ip ex: 192.168.1.254 it then started working oddly
I have successfully got Seafile Server fully working with HTTPS.
However I'm trying to migrate from SQLite to MySQL and everytime I try, the seafile server stops working.
I'm not sure what information to put here that yous will need but happy to provide what ever you need.
I followed this guide Deploy Seafile Windows Server With MySQL
Its really frustrating, I dont understand why its not working. I also installed MySQL Workbench and I can see the seafile user with privileges and the databases populated with the tables.
Are there any messages in the logs?
Please look at the logs in /seafile/logs/
You will see an error message in seafile.log if you have problems with MySQL.
For example:
../common/seaf-db.c(123): Failed to get database connection:
Failed to connect to MySQL: Can't connect to MySQL server on '127.0.0.1' (107).
http-server.c(761): DB error when check repo existence.
Disconnected from daemon
I have done such migration already and it did work without problems.
I'm using http://laragon.org for my server
I got a problem yesterday my apps cannot connect to mysql and give me this error message
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost'
(10061 "Unknown Error").
and I tried to run mysql -v but got same error. I'm using :
OS Windows 10 64bit
Laragon v0.7
No antivirus running
No others server running (this is the only server in the pc)
I'm searching everywhere but the answer is to start MySQL service, but I don't find any MySQL service in services.msc (I read on their site if Laragon won't add anything to the System Path Variable.
But, you are freely to use composer, artisan, mysql, mysqldump, httpd, redis-cli, ... in Laragon' shell)
and in their control panel status MySQL 10.0.20 started.. i tried to restart all service and pc but still got the problem
anyone know how to fix this problem ?
UPDATE : mysql -V is working, just need to uppercase -v, but still cannot connect to my MySQL Database
You're running a very old version of Laragon.
Try installing Laragon 0.9 151004, I believe it helps.
From the website, it appears that:
No Windows Services
Laragon manage other servers by its own optimal service manager.
This provides a reason as to why you couldn't find MySQL service in services.msc. Can you check the interface itself (if you can not find the laragon service itself in services.msc) and check whether MySQL service is running or not?
Additionally, look into laragon's installation directory for a logs file. Close and restart laragon if everything fails.