Silicon House
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Linux
    • Windows
    • Java
    • SH-APPS
    • Dedicated Servers - Linux
    • Dedicated Servers - Java
    • Dedicated Servers - Windows
    • Dedicated Servers - Media Streaming
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Reseller Hosting
  4. Windows Reseller Hosting
  5. Database
  6. MYSQL
  7. Procedures : Sample MYSQL Connection String

  Categories

Best Practices
5
Cloud - Servers
167
Customers
149
Domains
63
Expert Insight & Case Studies
2
Flash Tutorials [ Video ]
54
Managed - Servers
164
Marketing Tips
5
Media Streaming
3
New Products & Services
0
Payment Gateways
18
Pre-Sales (Domains)
6
Promos
1
Reseller Hosting
94
Resellers
229
SH Live
4
SSL Certificates
1
Super Reseller Suite
1
Web Hosting Related Articles
1
XMAIL Trac
2

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

Procedures : Sample MYSQL Connection String Print

  • 0

Procedure :

Please find the sample connection string for mysql database.

<?
// Connect to the database
mysql_connect ('localhost', 'UserName', 'Password') ;
mysql_select_db ('DatabaseName');
?>
Connected successfully


 


Was this answer helpful?

Related Articles

Procedure : How to resolve if MYSQL is not allocated to my account ? Description : This feature allows you to create a MYSQL database in Plesk Control Panel... Procedures : How to access MY SQL database via plesk ? Description : This procedure allows you to create a MYSQL database in Plesk Control Panel... Procedures : How to create MY SQL database via plesk ? Description : This procedure allows you to create a MYSQL database in Plesk Control Panel... Troubleshooting : How to resolve MYSQL database icon is not showing in plesk ? Troubleshooting : Please note that if you are not allocating MYSQL database for the service plan... Troubleshooting : How to resolve if MYSQL remote connection is not working ?     Soution : Please note that Remote Mysql Access is disabled in shared hosting environment....
« Back

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us

Copyright © 2025 Silicon House. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Generate Password

Please enter a number between 8 and 64 for the password length