In your case:
Hostname = "localhost"
Username = "yassyme_frgn1"
Password = ...
Database = "yassyme_frgn1"
HTH, J
Main Topics
Browse All TopicsHi Experts, I have been researching this problem and I need some help.
I installed PHPformgenerator on my website through Fantastico Cpanel. It also creates the MySQL database for me.
My problem really comes on Step 4 of making a form. This is where basically you are going to tell the information to get
accessed into your MYSQL database.
My question is what do I put in? Here are some of the questions. I also included mysql info below but I changed the names to
protect the innocent.
If you chose yes, please enter your MySQL database access information:
hostname:
username:
password:
database:
__________________________
Create new table?
yes no
If you chose yes, please enter a name for the table to be created:
table name:
__________________________
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:ya
PHP $dbh=mysql_connect ("localhost", "yassyme_frgn1", "<PASSWORD HERE>") or die ('I cannot connect to the database because:
' . mysql_error());
mysql_select_db ("yassyme_frgn1");
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok here is the below, I tried "localhost" for some reason I do not know if that woould be it.
Now creating table 'test66' ...
Warning: mysql_connect(): Access denied for user: 'yassyme_frgn1@localhost' (Using password: YES) in /home/yassyme/public_html/
Could not establish connection to MySQL database with the information provided.
Well I am banging my head against the wall...
seriously do I just type in "localhost"
Also I was reading on the Source Forge website that when this is installed by Fantastico that there is some sort of security problem, and that I should upload it manually. That is all fine and good but now I really do not know how to hook it to mySql.
So I am looking to make sure I am doing everything right with the Fantastico. When Fantastico installs the PHPgrom genrator and automatically creates the Mysql database, am I supposed to add a password to the user it creates?
Steve
Do me a favour ,
uninstall php form gernerator and remove the db it created then again create this fprm and specify with details in one of the above post....
well i also tried install phpform generator and encountered same error...lol
Try matt's script or some other.
these are simply stupid scripts. well u can do one more thing. Go to the cpanel home and from there go to "Mysql Databases". There first remove all users and dbases and then add new. Then u can use that info for form.
hope this helps
-k-
Business Accounts
Answer for Membership
by: kshitij_ahujaPosted on 2005-11-09 at 02:56:42ID: 15255087
That is basically creatingi a database and the information is relating that db which that script is gonnna generate automatically for u. All the fields are relating that database only.
Hostname : your database server name
Username ; choose and enter a good database access username
Password : a secret one :-)
Database : name you would like to give to your dbase that is going to be created
all these values are used in all the db connections settings. Remember when u create a PHP file and use mysql, u need to connect to dbase. This the info that is required to be used actually on a server.
Then u create table by clicking "yes" and entering table name.
By the way, try this and u shud not get any errors . IF it persists, check if u have already created a dbase with some other name....
hope this helps
-k-