Web Hosting Talk







View Full Version : cannot create mysql connection


0218
09-10-2004, 06:50 AM
hi all
my server is linux + cpanel

I have try download few php scripts to install into my hosting.
all is wizard setting. just follow the step procide the usernae., database name, password and it will auto connect to database host n auto create mysql databse.

but i try all scripts, all is fail connect to localhost, or cannot create mysql connection .
is it my server setting problem?

but i can install fantastico scripts , guestbook... any idea?

kosmo
09-10-2004, 07:05 AM
Probably you have to create the database yourself and use the wizard to enter the data. I am not aware of any installation wizard that will auto create the database and mysql user.

kosmo

0218
09-10-2004, 07:17 AM
this is my link:
http://www.yongjian-herb.com/trackpro/setup.php

** Databse no create yet.

This is installation method copy from readme.
INSTALLATION

- copy tpro.php, sneaker.php and the trackpro folder to the root directory of
your site (where your site's index file is)

- CHMOD the trackpro directory to 777

- run the trackpro/setup.php script and enter your database information

- if setup was successfull at the line below to the top of each file you would log

<? session_start(); @include 'tpro.php'; ?>
==================================

This is a easy step. but localhost still cannot connect.

Angel78
09-10-2004, 07:20 AM
you created the database & user for that database, right?

0218
09-10-2004, 07:34 AM
no.. i no create databse..
the scripts seem like no need maually create database, just simple enter the information in setup page will auto create database n extract the dababase.

Angel78
09-10-2004, 08:42 AM
and why dont you simply try to create the database and see if it's going to work? too much work or what?

KGLim
09-10-2004, 09:16 AM
.......................