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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:47:22+00:00 2026-05-29T10:47:22+00:00

How do I enable this type of command on a mysql server and what

  • 0

How do I enable this type of command on a mysql server and what is it?

I see it client code:

//$dsn = "mysql://root@localhost/username";
//$dsn = "mysql://admin@999.69.205.174/pass";

Normally I would expect:

$con=mysql_connect($db,$dbuSER,$dbpass);
  • 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-29T10:47:23+00:00Added an answer on May 29, 2026 at 10:47 am

    In PHP using the PEAR::DB package to open a connection without an
    external DSN (a “DSN-less connection”, i.e., using a Connection
    String), the code might resemble the following:

    require_once("DB.php");
    //$dsn = "<driver>://<username>:<password>@<host>:<port>/<database>";
    $dsn = "mysql://john:pass@localhost:port/my_db";
    $db = DB::connect($dsn);
    

    http://en.wikipedia.org/wiki/Data_Source_Name

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

Sidebar

Related Questions

I built wxWidgets on Linux using this command: ../configure --enable-shared --disable-debug It see results
I am trying to enable mod_deflate. I have Apache 2.0+ and tried this code
This is my svg code for instance. <rect x=1531.718 y=1688.217 opacity=0.8 fill=#FEE880 enable-background=new width=40.67
If I type this line in an MS-DOS command prompt window: ipy -X:ColorfulConsole IronPython
My GUI looks like this and I want to enable to closing button of
I need to enable crossdomain access on FF and Safari. I did this on
I have enabled google Minify in code igniter using this library on our website.
I'm having an issue with EF Migrations, specifically with getting the Enable-Migrations command to
I have this method: public static DataTable ExecuteDataTable(IDbConnection connection, string cmdText) { IDbCommand command
I want to enable Lua-Scripting (Lua 5.1) in my Delphi application. For this purpose

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.