View previous topic :: View next topic |
Author |
Message |
Patrick -
Joined: 02 Dec 2002 Posts: 20 Location: Canada
|
Posted: Fri Nov 19, 2004 11:52 pm Post subject: program and mysql |
|
|
hopefully my search ends here
I have installed mysql in my Abyss program root directory...
Currently i have phpMyAdmin up and running in my htdocs
There is connectivity between the two....I created a database through
phpmyadmin....so something’s working out ok
However I need to set this straight, it is a config file that is giving me problems
Code: | <?
$hostname="localhost" ;
$user="" ;
$password="" ;
$database="xxxxxxx" ;
?>
|
Not sure what is right....for each
localhost? my ip maybe
user & password I get
datadase is this the path to the database maybe?
C:\Abyss\MYSQL\data\mydatabase
any direction will be helpful
thanks in advance _________________ Patrick |
|
Back to top |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1334
|
Posted: Sat Nov 20, 2004 9:56 am Post subject: Re: program and mysql |
|
|
What is the name of the file where you find these settings? |
|
Back to top |
|
 |
Patrick -
Joined: 02 Dec 2002 Posts: 20 Location: Canada
|
Posted: Sat Nov 20, 2004 3:30 pm Post subject: name of file? |
|
|
I tried what I believe you where directing me to in your response...
and a few other changes after surfing the forums again
Code: | <?
$hostname="my-ip&port" ;
$user="username" ;
$password="password" ;
$database="included only the name of the database" ;
?>
this seem to work for me as I ran the index php file and I achieved the program..... however I get a few notice messages as below
Notice: Use of undefined constant content - assumed 'content' in C:\Abyss\htdocs\pals\index.php on line 12
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 50
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 55
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 55
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 55
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 55
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 55
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 57
Notice: Use of undefined constant content - assumed 'content' in C:\Abyss\htdocs\pals\inc\functions.inc on line 71
Notice: Use of undefined constant menu - assumed 'menu' in C:\Abyss\htdocs\pals\inc\functions.inc on line 73
then the program appears and functions except for more notice messages
Well I am going to start looking again about these notice messages, try to figure it all out.....
again if you can shed some light it would be more then welcomed!!
|
_________________ Patrick |
|
Back to top |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1334
|
|
Back to top |
|
 |
Patrick -
Joined: 02 Dec 2002 Posts: 20 Location: Canada
|
Posted: Wed Nov 24, 2004 2:00 pm Post subject: Excellent |
|
|
thank you for the responce...... _________________ Patrick |
|
Back to top |
|
 |
|