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 65335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:55:49+00:00 2026-05-10T18:55:49+00:00

I work on a app which has only one way to get a working

  • 0

I work on a app which has only one way to get a working DB connection: a function that returns a MySQL connection resource.

Is there any way for me to convert that MySQL connection to a PDO MySQL connection?

I don’t have access to the MySQL server in any other way, no username, password, nothing. I can’t see/get the file with the function in it, either. I might be able to, later, but still, I’d like to know if it is possible.

  • 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. 2026-05-10T18:55:50+00:00Added an answer on May 10, 2026 at 6:55 pm

    No – that’s impossible. PDO and the ext/mysql are two completely different components to access a MySQL server.

    Without username, password, host (can be retrieved by using string mysql_get_host_info ([ resource $link_identifier ] ) and database name (can be retrieved by looking at a list of databases on the server with resource mysql_list_dbs ([ resource $link_identifier ] )), you won’t be able to connect to the server with any other method than the given one. It’s impossible to read the username and/or password from a given ext/mysql resource.

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

Sidebar

Related Questions

I'm having a problem at work in that our app which uses WCF for
I have an iPhone App which has one file (.h .m) for 2 nibs.
I've trying to get an ASP.net (v2) app to work in the debugger and
All, I need to create an app for work that signs into our website
How would one extend the Paginator class in django.core.paginator to work with Google App
I have a WPF application which so far has been client only, but now
One of the tasks of the app that I'm developing is to backup the
I have a data gathering app (terrestrial magnetic field strength) that has four phases;
Hi I am new to rails and started with a simple app which has
I'm writing an app that's sole purpose is to determine if one of our

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.