Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5993681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:42:35+00:00 2026-05-22T23:42:35+00:00

there is a problem, if in my project i use mysqli for the most

  • 0

there is a problem, if in my project i use mysqli for the most part of the project and for a specific query to another db use the pdo?

I’ll probably have to do some queries to another databases, but i prefer using mysqli in terms of performance for the rest of the project.

I don’t know what is the SGBD in another databases for now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:42:36+00:00Added an answer on May 22, 2026 at 11:42 pm

    It is possible to use multiple database access layers within the same application without issue. From a readability/maintainability standpoint, it’s recommended to use just one. If you’re not seeing good enough performance from PDO, it’s okay to use mysqli_ for a performance sensitive part of your application as long as you recognize the tradeoff you’re making. Run some simple benchmarks to prove your case. Also, please keep in mind that if you’re using PDO and mysqli_ connecting to the same database on the same page you’ll be creating an extra database connection. One more thing to keep in mind; No matter what your database access layer, using parameterized queries to protect against SQL injection is strongly encouraged. Parameterized queries are support in both PDO and mysqli_.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with a project where I use GWT. There's no problems with it,
I am using AJAX modal popup in my project, but there is problem with
I'm working on problem 9 in Project Euler: There exists exactly one Pythagorean triplet
I currently have the DatePicker in my project but there are problems due to
I am working on a project with OCaml and there are some problems regarding
Is that a problem if a solution contains many projects and there are some
i'm facing a design problem within my project. PROBLEM i need to query solr
I have a problem with an array that is getting returned from a query
There seems to be a problem with the code I have for calling php
I have a project that I am working on that requires the use of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.