Author Topic: question about mysql  (Read 11832 times)

0 Members and 1 Guest are viewing this topic.

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« on: April 11, 2003, 05:39:56 AM »
Ae the DB Host & DB Name the same? Cause usually there are only 3 fields. DB Name, DB User, DB Pw

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
question about mysql
« Reply #1 on: April 11, 2003, 05:48:17 AM »
DB Host is address of your Host's MySQL server
DB Name is a name of databe that u created for 4images

and what was your actual question?
please be more specific. :roll:
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #2 on: April 11, 2003, 08:31:43 AM »
ohz..because i put the same thing for DB Host & Name..& the installation didn't work. So I wanna know what they are for I could put them correctly. Also do I have to create the DB Name for 4images in my MYSQL or it will create itself once the install.php works? thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
question about mysql
« Reply #3 on: April 11, 2003, 10:35:21 AM »
Yes, u need first create a database.
the installation process u can find in /docs/installation.txt file
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
question about mysql
« Reply #4 on: April 11, 2003, 03:19:35 PM »
Also:

If your database resides on the same box as your web server, which is usually the case for 99% of users, then you can use "localhost" (without the quotes) as the name of your database server.

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #5 on: April 12, 2003, 09:31:31 AM »
after i filled out the DB info, i get this

Code: [Select]
DB Error: Bad SQL Query: SELECT setting_name, setting_value FROM 4images_settings
Table 'gurl_myhost24_com.4images_settings' doesn't exist



gurl_myhost24_com is my DB name. i looked in 4images folder but i don't see settings dir

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
question about mysql
« Reply #6 on: April 12, 2003, 09:44:17 AM »
is that error when u run install.php?
did u actualy run it?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #7 on: April 12, 2003, 06:54:58 PM »
yes, that's the error when i run the install.php. after i filled out my mysql info, i got this..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
question about mysql
« Reply #8 on: April 13, 2003, 01:43:18 AM »
did u create database before u run install.php ?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #9 on: April 13, 2003, 03:34:41 AM »
the installation.txt didn't say that i have to create the database first. it's just say  Decompress the .zip archive to a local directory on your system and FTP all . . .

where could i get the doc to create the database?

Offline tanvir_bd

  • Newbie
  • *
  • Posts: 12
    • View Profile
MYSQL PROBLEM
« Reply #10 on: April 13, 2003, 12:22:11 PM »
Hey gurl,

if you are hosting your website on a hosting comapny they should provide you with a link to your site control panel , there you will find the tool to create the database.

or you can ask you domain admin to create a database for you.

RGDS

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #11 on: April 13, 2003, 11:28:51 PM »
oh okie..i have my own database. but i still got the same error.

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #12 on: April 15, 2003, 07:16:27 AM »
so nobody knows the resolution?

Offline tanvir_bd

  • Newbie
  • *
  • Posts: 12
    • View Profile
Someone Might Have !!!
« Reply #13 on: April 15, 2003, 07:59:17 AM »
Hayee gurl,

Someone might have the solution for you if could just explain a little bit more.

Seeing you other post it's very unclear of what your system is.

RGDS

Offline gurl

  • Newbie
  • *
  • Posts: 32
    • View Profile
question about mysql
« Reply #14 on: April 16, 2003, 06:39:29 AM »
hey tanvir_bd,
Thanks for being patience w/ my question. If i did not explain it clear, I'm sorry. i might as well give the url to my site.

http://gurl.myhost24.com/gallery

Right after I run & filled out all the info in the install.php, i got that error. No matter what page I access the gallery, I got the same error.