elevenmil
Mar 28 2005, 07:57 AM
| | I've been asking for a lot of help lately cause I'm rather new to all of this stuff. I'm trying to encorporate log in and registrating pages to the website. I've looked at tutorials on the forum and others on the net. My biggest problems is connecting successfully to the databases I set up for the installation of this feature...I just can't seem to get it right. Does anyone know of database tutorials on the web or on the forum I may not have found? If someone would like to help and needs specific info on my problems I can detail it...I'm really getting frustrated...whatever anyone can do to help me would be great thanks... |
Comment/Reply (w/o sign-up)
Inspiron
Mar 28 2005, 12:29 PM
whyme
Mar 28 2005, 06:20 PM
If you're connnecting via FTP, then you chould be using the following connection code as follows: CODE <?php $dbhost = 'localhost'; $dbuser = 'YOURUSERNAMEONCPANEL'; $dbpass = 'THEPASSWORDYOUGAVEYOURDATABASE';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'YOURDATABASENAME'; mysql_select_db($dbname); ?>
You only need to change what I put in all caps. Again, I'm not sure if this is the problem that you are having. Maybe if you could show me the error that you're getting, or the code that you are using. -whyme
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : php, mysql, database, figure
- Please Explain Me Mysql
How do i insert information into this config: (4)
Mysql Database Space
(3) How much space does Trap17 offer for MySQL database in terms of MB? I need to know because I intend
to host a forum for my classmates and it will be a gathering place for us. We are all ex students of
a school so the forum will be a handy hangout place to get info and status about each other, since
we're all seperated now. So, the forum takes up 150KB in my database and its increasing daily
due to increasing number of posts and members. The day will come when it hits the 12 MB database
space my current free host offers. So, any input or help is very much appreciate....
Mysql
administration (5) QUOTE Using your MySQL administration tool that your web host has, check to see if the table was
created correctly. Afterwards, try creating a few of your own tables to be sure that you have gotten
the hang of it. Where is the MySQL administration tool on trap17 O_o, i can't find it.....
External Access To Mysql Database
game plugin (0) hello guys, me again /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
alt="wink.gif" /> since i make plugins for the steam-platform games, i mostly use databases for
storing data on like people's steamid and nickname for frequent visitors or banned people all
the other hosts i visited never allowed external access to the database i wonder if it's allowed
here but i wouldn't want to make the database server crash, since the database i would use
would get a lot of traffic every time a player joins a server or a ban happens with the global c....
I Cannot Connect To Mysql
Can't connect to database (1) I am trying to install an excellent mailing list program called poMMo - written in PHP. I keep
getting the below message and am not sure how to fix it. Connected to database server but could not
select database: "jeldi_pommo". jeldi_pommo is the name of my database. It works. I've checked
in phpMyAdmin through cPanel. It says it's connected to the MySQL server, so it cant be
user/pass issues. If anyone has any ideas, they would be much appreciated. I'm genuinely
stumped!....
Fantastico Difficulties
Mysql or fantastico problems ??? (1) Yes, even frantastico ain't working and my AMFR forum hosting system is down. Please get it
fixed!....
Which Mysql Version Does Trap17 Offer?
Please clarify this for me (4) I am trying to set up something that requires a Mysql database. I have made the account and user for
it and everything is OK, I just need to know what MySQL database type Trap17 offers to be able to
continue. I can select MySQL types between: 1. MySQL 3.x 2. MySQL 4.x/5.x Please help verify which
of these two Trap17 hosting package #2 offers /wink.gif" style="vertical-align:middle" emoid=";)"
border="0" alt="wink.gif" /> James....
How To Create Database On Php Host
(3) hi everybody i'm new bie . i don't know how to create a database on hosting.could you show
me do it .i'm really glad if receive your helping . thank you very much . Wrong forum! Moving
from "Free Web Hosting Account Request" ....
Mysql Help Needed
(2) Right, where do I start... I have a phpbb forum, which is ok but doesnt give me the scope for
expansion which I need, so I have switched over to phpnuke (which has phpbb integrated anyway). My
problem is this - how do I transfer all the member details from the phpbb forum to the phpnuke
database? I'd really rather not have to ask everyone to rejoin if it can be helped, & I guess
there must be some clever way of using the mysql database to sort it out. I'll be the first to
admit i'm pretty clueless when it comes to the finer workings of mysql databases, so ....
Mysql Only
(2) Would I be allowed to use my hosting account for MySQL only (no site)?....
Mysql And Free Hosting
(8) with the free hosting can I have a MySQL database and run PHP for a forum....
Looking For Free Hosting With Mysql, Php And More
I need help!!!! (4) I am trying to find a website hosting server which is totally free with mysql and php and ahs alot
of megabyte storage If any one can help me please email me at ichhabezwei@hotmail.com....
Trap17.com Mysql Databases
Addresses, inquiry (2) What is the SQL host address for trap17.com? example, google's could be db1.google.com. I am
looking for that address for trap17.com. Thanks, htdefiant....
Problem With Php
anything that accesses a mySQL database (8) Hey. I'm having a problem with PHP, when I have a script access a database, it comes back
blank... I was wondering why this happens and what I could do to fix it or if any of you could fix
it. Yes, everything else in PHP works, Yes, I have tested this on multiple computers. Thanks for
the help /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> ....
Mysql Help
(1) I tried to upgrade my coppermine photogallery by usiing fantastico, and but then it gave me an
error.. i tried to follow their instructions to reinstall the backup, but i need help. If you
don't have SSH access, ask support to help you: - Remove the directory
/home/blah1234/public_html/forum - Untar
/home/blah1234/fantastico_backups/forum.backup.1132357531.tgz - Empty the database blah1234_smf1 -
Import the file /home/blah1234/fantastico_backups/forum/backup.sql into the database blah1234_smf1 -
Move /home/blah1234/fantastico_backups/forum to /home/blah1234/public_h....
Free Mysql Hosting
Sql Hosting info. (6) Can anyone tell me , do trap17 site will give me mysql hosting for phpbb forums, WITHOUT Ads, How
many points i will need and for how long time they will give web hosting? For one year or less ? Let
me know.Thanks. Or if you guys can tell me any other site which gives free mysql hosting without any
ads on forums..I will be thankful to you.....
Mysql Database Size
related to the free database space (7) hi all! this is my first post /biggrin.gif' border='0' style='vertical-align:middle'
alt='biggrin.gif' /> and i have a doubt, how much mysql space i am allowed to use... i mean how
much is available for my free account....
Error In Sql Database!
(1) Just tryit http://web4kids.info/forums I can't login using phpmyadmin or anything. I never
backed up. HELP ME!....
Php & Mysql Help
need some help (2) I'm not sure whether i should have posted this here, but anyway. I am making an email-like
system. I have a table that reads the "id", "subject", "author" and "date" off a mysql table.
let's say that there are 15 messages in the table, but when i delete all the messages using a
php script then post a new message the "id" sets itself to 16 instead of 1, the only way i have
figured out is to Truncate the table and just fake it for now, and not allow deleting. I think i
have to add in an update mysql table or something - how do i do this? if you would like to see in....
Lost Connection To Mysql Server During Query
(0) Hello Everyone... I need to put in the images table of the DB, 10 pictures of 60kb each one, when i
do that, i lost the connection, but if a upload 10 pictures of 10kb each one, i haven't got the
problem. I'm getting the following error when I run my select query within my VB code: Lost
connection to MySQL server during query. This seems like a timeout error to me, but I don't
know how to compensate so that it doesn't time out. I read in some places that there is a
max_alloweb_timeout or something, that is set by the Hosting Provider, so Any sugge....
Mysql Problems....
(4) Is MySQL currently working proper? Well, my site seems to be down because of it. and went to my
CPanel and I was supposed to have 2 MySQL databases, but it says 0/99 /blink.gif' border='0'
style='vertical-align:middle' alt='blink.gif' /> Does anybody have any idea of why is that? it
would be really helpful if someone tells me if its a general problem-situation. thanks ps. BTW, my
site is www.sonorama.net....
Login And Registration Mysql Problems
Session terminates too quickly (2) Although I'm doing some tweaking, I have finally got just about everything down in developing a
login feature to my website, but just one problem. The session terminates too quickly. For
instance, someone will be instructed to login, and after browsing a couple pages, it'll come up
again that the user is not logged in. In addtion, this occurs frequently but not all the time.
What can I do that will eliminate this inconvience to my viewers?....
Smf Need To Update Database?
Please Help (0) Note: It appears that your database may require an upgrade. Your forum files are currently at
version SMF 1.0.2, whereas your database is at version SMF 1.0.1. It is recommended that you execute
the latest version of upgrade.php. I get this message & I need some help with this. How can I
upgrade the database? If anyone can help please reply to me or help me on AIM my screen name is
MVATL7. Thanks.....
How To Restore Back Up Website?
including files, folders & database (3) I would like to know how to restore my site which I BACK UP sometime ago. I have back up the full
directory. I would like to know how to restore everything including MySQL database. Please give line
to line description if possible. Thanks in advance.....
Mysql Server Problem
MySQL Server problem (3) Hi: When i enter in my webpage it appears the following message: "There seems
to be a problem with the MySQL server, sorry for the inconvenience. We should be back shortly." But
my cpanel work rigth, the problem with mySQLserver is mine or general? Regards Tiago....
Mysql Phpbb Critical Error?
(6) Warning: mysql_connect(): Too many connections in /home/ill/public_html/void/db/mysql4.php on line
48 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in
/home/ill/public_html/void/db/mysql4.php on line 330 Warning: mysql_errno(): supplied argument is
not a valid MySQL-Link resource in /home/ill/public_html/void/db/mysql4.php on line 331 phpBB :
Critical Error Could not connect to the database Can anyone tell me what this error is? I've
got it before but it somehow fixed itself but now it's back??....
Mysql Hostname?
where can i get it (4) Hey, im looking at a php script to connect to mySQL - it requires the password, username and
hostname to connect to the database. Im now looking at it in a very perplexed way. Ive looked on
cpanel but I can't see anything like this anywhere. Where can I find this information? If this
is nothing to do with you at all I'm very sorry for wasting your time.... Please be gentle, im
only a n00b /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />
Thanks very much guys You do great work, keep it up!....
Mysql Down
My sql is down T_T (5) well, my mysql databases won't work /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> QUOTE Warning: mysql_connect(): Too many connections in
/home/danieluc/public_html/bloggie/b2-include/b2functions.php on line 37 Can't connect to the
database server. MySQL said: Too many connections and i can't log in to my Cpanel o_o.. is
this normal? it's part of your upgrades?....
Sql Database Password
(4) its the same as the cpanel password right?....
Looking for php, mysql, database, figure
|
Searching Video's for php, mysql, database, figure
See Also,
|
advertisement
|
|