Web Hosting SUPERIOR WEB HOSTING SOLUTIONS " we make it work "  
Dedicated Servers, E-Commerce
Web Hosting Home  HOME   |   Web Hosting Contact  CONTACT   |   Order / Billing Desk  ORDER & BILLING   |   Web Hosting Support  SUPPORT & HELP   |  
 
  WEB HOSTING     |     DEDICATED SERVERS     |     WEBSITE DESIGN     |     DOMAIN NAME REGISTRATION     |     MERCHANT ACCOUNTS     |     RESELLERS     |     CLIENT LOGIN   

MySQL, phpMyAdmin FAQ

Important: To create a database, you must login to your Web Control Panel (http://YourDomain.com/cgi-bin/plusmail), click on "Applications", then click on "MySQL Database", and follow the directions provided. Activation takes place within 15 minutes.

  1. Do you support w3-msql?
  2. Can I use ODBC with MySQL?
  3. How do I connect to MySQL using MySQLPerl Module?
  4. Can I use JDBC with MySQL?
  5. How many databases can I create?
  6. What's the telnet (SSH) command to activate msql?
  7. How do I connect to MySQL through PHP?
  8. What's the telnet (SSH) commands to access MySQL?
  9. Can I use phpMyAdmin to administer MySQL?
  10. How do I activate phpMyAdmin to administer MySQL?

NOTE: More information on MySQL is available in our Online Support Manual: Part 7 - Databases.

Do you support w3-msql?
Yes, we support w3-msql lite. You can request that it be put into your cgi-bin.

top

Can I use ODBC with MySQL?
At this time, our Linux operations do not support ODBC due to security concerns. You may use ODBC on select Windows Web Hosting accounts.

top

How do I connect to MySQL using MySQLPerl Module?
Use the following outline to connect and begin querying the MySQL server from a Perl script. Remember that you can not connect to your databases remotely due to security concerns, you can only connect from localhost.

  1. Declarations. You must require the MySQL package for your script to function properly. Do this by including the following line in your code:
    use Mysql;
  2. Connect To The Database. Somewhere near the beginning of your script, you need to make your initial connection to the database server. Using the following form - substitute your database, username and password for the examples to connect succesfully.
    Mysql->connect('localhost','DATABASENAME','USERNAME','USERPASSWORD');
  3. Executing A Query. You are now ready to begin querying the database server. Most problems that you may incur will generally occur due to invalid permission settings for the specified user.

Here's an example perl script:

    #!/usr/bin/perl
    use Mysql;
    $database = "YourDatabasename";
    $user = "YourUserName";
    $password = "YourPassword";
    $dbh=Mysql->connect("localhost",$database,$user,$password);
    $dbh->selectdb($database);
    print "This should say 'mydata': $database\n";

Remember, upload your scripts in ascii format.

top

Can I use JDBC with MySQL?
At this time, our Linux operations do not support JDBC.

top

How many databases can I create?
We allow 4 individual databases to be created using your Web Control Panel on the Linux systems. (The iStarter accounts allow 1 database.) You may purchase additional databases if necessary. Unlimited databases are available with select Windows Web Hosting accounts.

top

What's the telnet (SSH) command to activate msql?
msql dbname

top

How do I connect to MySQL through PHP?
Use the following outline to connect and begin querying the MySQL server from within your PHP scripts. Remember that you can not connect to your databases remotely due to security reasons. You can only connect to them form localhost.

  1. Connect to the MySQL Server. Use the following statement to connect to the database server. Substitute the username and password for the ones you created in the Web Control Panel.
    MYSQL_CONNECT('localhost','USERNAME','PASSWORD');
  2. Select your Database. Use the following statement to select the database you wish to connect to. Make sure you substitute the example with your database name.
    @mysql_select_db("DATABASENAME");
  3. Executing a Query. You are now ready to execute your queries. Most problems that arise with your scripts will be due to incorrect permission settings.

top

What's the telnet (SSH) commands to access MySQL?
Use the following outline to connect and begin querying the MySQL server from Telnet (SSH). Remember that you can not connect to your databases remotely due to security concerns, you can only connect from localhost.

  1. Connect to the MySQL Server
    servername:> mysql -u USERNAME -p
    Enter Password: PASSWORD
  2. Connect To The Database
    mysql> use DATABASENAME;
  3. Receving Help
    mysql> help

top

Can I use phpMyAdmin to administer MySQL?
Yes, phpMyAdmin is available for all accounts. Use your Web Control Panel to activate phpMyAdmin.

top

How do I activate phpMyAdmin to administer MySQL?
You can install phpMyAdmin once your database name is created. Via the Web Control Panel, (http://YourDomain.com/cgi-bin/plusmail), create your database name first. Click on "Applications", then click on "MySQL Database", and then follow the onscreen instructions. Once phpMyAdmin is installed, you can access it from http://www.YourDomainName.com/pma

On the left navigation bar, click on the database you want to work on.

You can customize the configuration of phpMyAdmin by modifying the config.inc.php3 file located in your /pma directory. It's a good idea to make a copy of the original before making any changes. That way, in case of problems, you can always go back to the original quickly.

top



  WEB HOSTING     |     DEDICATED SERVERS     |     WEBSITE DESIGN     |     DOMAIN NAME REGISTRATION     |     MERCHANT ACCOUNTS     |     RESELLERS     |     CLIENT LOGIN   
Web Hosting Home  HOME   |   Web Hosting Contact  CONTACT   |   Order / Billing Desk  ORDER & BILLING   |   Web Hosting Support  SUPPORT & HELP   |  

Copyright Notice | Policies & Guidelines | Privacy Statement | Site Map
Copyright © 1998-2008 PeoplesWare.com. All Rights Reserved.