Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
connect java with mysql
- Page 1
Re: Problem with the external hard drive
Hardware and Software
Microsoft Windows
6 Days Ago
by asadalikhan
Don't format it! Try using recovery software like Recuva, EaseUS, or TestDisk to recover your files. If that fails, a professional data recovery service may be needed.
Hello Everyone - Newbie Here
Community Center
Say Hello!
1 Week Ago
by Ramesh sharama
…, and I’m always keen to learn, share knowledge, and
connect
with like-minded professionals from around the world. Looking forward…
Re: Page Speed Issue
Digital Media
Digital Marketing
3 Weeks Ago
by ashleydent4u
… page speed and Core Web Vitals without much manual effort.
Java
-based websites, on the other hand, usually need more hands…
Re: Cannot run exe from asp.net
Programming
Web Development
1 Week Ago
by lennyli
… = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client_socket.
connect
(('REMOTE_IP_ADDRESS', 9999)) # Replace with the server's IP…in this case). (LENNY:) OK NOW, I
connect
two computers over its own independent wifi router. …client.py", line 6, in main client_socket.
connect
(('192.168.0.2', 9999)) # Replace with…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by lennyli
… 192.168.0.1. My computer will use wifi to
connect
to the SSID of the router connected to the product… to demonstrate that i can use my web browser to
connect
to the webpage http://192.168.0.2. If I…
Re: which language do i start leaning in 2025
Programming
Software Development
3 Weeks Ago
by Dani
… backend language such as PHP and a database such as
MySQL
. I see you also tagged this topic c++. C++ is…
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
3 Weeks Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: Buggy career talk :-P
Programming
3 Weeks Ago
by Salem
This https://en.wikipedia.org/wiki/Peterson%27s_algorithm Plus two different kinds of processors. Plus an error rate of less than once a week. After many months, the cause was eventually captured on a bus analyser. After which, the solution was obvious after a bit of RTFM. Turned out that one of the processors had the then awesome new …
Re: Hello Everyone - Newbie Here
Community Center
Say Hello!
1 Week Ago
by Reverend Jim
Welcome to Daniweb. Please take a moment to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules).
Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
… can I write to a database using a
MySQL
connection in the middle of a transaction with a… different connection? e.g. // Open Connection 1 and
connect
to Database A // Start transaction with Connection 1 // … some stuff with Connection 1 // Open Connection 2 and
connect
to Database B // Write some stuff with Connection 2…
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Reverend Jim
As far as I know you can
connect
to more than one database at a time but you …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
I am already using multiple
MySQL
connections throughout the project, as well as select_db() in some other places. My question specifically revolved around if anyone can explain why select_db() implicitly committed the transaction, and then when done again to return back to the initial database, it did a rollback instead of commit.
Database Connection Failing in MySQL – Need to Hire Developers in the USA
Programming
1 Month Ago
by YashSmith
I'm facing a database connection error in my
MySQL
-based application. The credentials are correct, but I keep getting: … 'admin'@'localhost' Is it a privilege issue, host misconfiguration, or
MySQL
version mismatch? Seeking expert developers in the USA to resolve…
Null Pointer Exception in Java Application – Need Fixing
Programming
Software Development
1 Month Ago
by YashSmith
My
Java
application crashes with a NullPointerException when trying to access an …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
A slightly related question: Is it okay to use PHP's `mysqli::select_db()` function to switch databases in the middle of a transaction? This is what got me into trouble in the first place, when I started a transaction, performed some writes, switched databases, and then wrote to that second database, and then switched back, and performed some …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Salem
https://www.php.net/manual/en/mysqli.select-db.php I think the key word in all of this is "default". You can probably do what you want, but you have to refer to each DB by it's own handle. Using `select_db` is fine, if you only have one DB and you want to be lazy about referring to it. So you make it the default DB. But as …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Reverend Jim
In that case I can't suggest anything. I've never had to update multiple databases for any of the systems I set up.
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by toneewa
You're not suppose to switch databases with a connection mid-transaction. It's by design to rollback because it considers it a change to the session context. XA Transactions can be done if you use the InnoDB storage engine. Create separate PDO connections for each database. I wonder what kind of results you get with autocommit, serializable …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
> If the databases are on the same server and use InnoDB, you can use fully qualified table names, and write to multiple databases on a single connection. That's what I ultimately started doing instead! Thank you so much for a definitive answer to my question.
Re: Database Connection Failing in MySQL – Need to Hire Developers in the USA
Programming
1 Month Ago
by rproffitt
Isn't that a little basic for the Dev Technosys company to not fix themselves? What happened to the coders and developers you had?
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
1 Month Ago
by Dani
Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb
Connect
API](https://www.daniweb.com/
connect
/developers) is also OAuth-based and has some of its own documentation.
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
1 Month Ago
by Dani
… create one [here](https://developers.pinterest.com/docs/getting-started/
connect
-app/) as that's the first step. Also, it looks…
Re: Page Speed Issue
Digital Media
Digital Marketing
2 Months Ago
by Olu_610
Java
-based websites are known to be difficult for speed optimization because they contain certain technical stacks. But with caching and image compression,
java
website can generate page speeds which are equivalent to those of WordPress websites.
Buggy career talk :-P
Programming
1 Month Ago
by Dani
… past is not realizing that you can’t use a
MySQL
transaction from within a persistent connection. Here’s [when I… lesson](https://www.daniweb.com/programming/web-development/threads/540571/
mysql
-packets-out-of-order). As far as the single biggest…
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
2 Months Ago
by pathofbuilding
… = "localhost:9222"; IWebDriver driver = new ChromeDriver(options); to
connect
. This prevents LinkedIn from detecting automation and avoids re-login…
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
2 Months Ago
by xivlauncher
You can also use SHDocVw or System.Diagnostics name spaces from C# to interact with an open web browser, or
connect
programmatically to an existing browser window using the UI Automation API. Of course, for deeper control over Chrome, you may need the Chrome DevTools Protocol.
Excited to Join DaniWeb! 🚀
Community Center
Say Hello!
1 Month Ago
by aimodapk
… AI innovations in mobile apps with the community. Excited to
connect
with like-minded tech enthusiasts! What’s the most impressive…
Hi, my name is Kevin
Community Center
Say Hello!
1 Month Ago
by dawsondeandre
I'm absolutely delighted to become a part of this amazing forum! It's exciting to
connect
with like-minded individuals and exchange ideas in such a supportive community. I can't wait to contribute, learn, and be inspired by everyone here!
Page Speed Issue
Digital Media
Digital Marketing
2 Months Ago
by MasoodDidThat
**Is it true that a
java
website faces much more page speed and core web vitals issues as compared to a wordpress website? ** I have seen many wordpress websites doing nothing on technical seo issues but having very good page speed whereas my website is a
java
website and i am struggling to fix my core web vitals.
Re: Page Speed Issue
Digital Media
Digital Marketing
2 Months Ago
by Dani
I think you might be confusing
Java
with Javascript. Is your website built with Javascript technologies such as Node.js?
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC