|
|
Mysql Help - Oh please help a poor little girl... | ||
Discussion by Becca with 8 Replies.
Last Update: October 16, 2004, 3:22 pm | |||
![]() |
|
|
Anyways the problem is well this is a page of my banner rotation websites
http://bexchange.bexa.trap17.com/member.php
and well why does it say 0: bexa_mysql ???
WTF does it mean ?
I aint got a clue and hopefully all you computer genius' out there can help me. If you can't don't worry I will just pray to god for it to hopefully change it self the next time I go on it.
Thank You x
Bexa
case, phpwebscripts).
provided in the README.html that came along with the script.
QUOTE
InstallationUpload all files onto your server.
Set permission (chmod) of the data directory to 777
Run setup.php. It installs the table we will need and creates some files.
Go to the admin area (both username and password are 'admin') and set all variables.
Now you can start to use the script. New users may join by going to 'join.php', existing users can edit their accounts and see statistic at 'member.php'. Each new user must be enabled by admin. Until the user is not enabled, his/her banners are not shown.
when you still have a problem, just holler.
files in folder of your choice. then:
1. go to your cpanel.
2. go to mysql page, and click on phpmyadmin on the bottom part of the page.
3. after phpymyadmin pops up, create a new MYSQL database on the left panel.
NOTE: your db will be prefixed with your subdomain_ (example: bexa_bannersql)
4. close phypmyadmin. refresh mysql page. your new database should appear there.
5. check that you have an existing mysql user on the bottom part of the page.
if none exists, create one. it will be prefixed again with your subdomain_ (remember the password you use here).
6. Grant permissions on a MySQL database to a MySQL user. (just above the
existing mysql user in #5). leave Privileges setting as it is. then toggle to grant
permission of a USER to the MYSQL DB you created earlier.
7. After page refreshes, you would see a set of connection strings applicable to
the DB. Check the PHP syntax there.
QUOTE
Example: $dbh=mysql_connect ("localhost", "yoursubdomain_dbusername", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());mysql_select_db ("yoursubdomain_dbname");
8. Proceed with setup of your php script at this point with the details you now have.
QUOTE
Mysql database host (try 'localhost' if you are not sure): localhostYour mysql database username: yoursubdomain_dbusername
Mysql database password: password
Name of your mysql database: yoursubdomain_dbname
Full path to the folder where the scripts live. It should be correct value so please don't change it if you are not 100% sure it is incorrect. No trailing slash.: (see GENERAL SERVER INFORMATION on the lower left side of your cpanel)
that should cover it all, i guess.
OH NO WAIT MAYBE I HAVENT COULD YOU LIKE HELP ME BY LOGGING ONTO MY USER ? I KNOW IT IS RISKY BECAUSE YOU MIGHT DELETE ME FILES BUT I DONT CARE... HELP ?
QUOTE (Bexa)
sorry um I have already done that thank you for helping any ways.OH NO WAIT MAYBE I HAVENT COULD YOU LIKE HELP ME BY LOGGING ONTO MY USER ? I KNOW IT IS RISKY BECAUSE YOU MIGHT DELETE ME FILES BUT I DONT CARE... HELP ?
try to work on it for now.
test it.
setup after i test it on my side. i will help you within 24 hours or so, as i'm about to
log off already and it may take some time to reconfigure your setup.
Im hungry I need to go bed its 11:30pm *yawns*
Similar Topics:
How To Impress A Girl.
How do you know when a girl likes y...
I Need A Rap About My Girl
Graphics Showcase Lets see what you guys have done! (14)
|
(1) Javascripts Looking for a particulat script
|
Loading...
HOME 





Choice Girls (Red Hat remix)
Healthy Body = Functional Body. Hollywood Look Side Effect: Healthy Function
Google Developers SXSW Lightning Talks

