program and mysql

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Patrick
-


Joined: 02 Dec 2002
Posts: 20
Location: Canada

PostPosted: Fri Nov 19, 2004 11:52 pm    Post subject: program and mysql Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1334

PostPosted: Sat Nov 20, 2004 9:56 am    Post subject: Re: program and mysql Reply with quote

What is the name of the file where you find these settings?
Back to top View user's profile Send private message
Patrick
-


Joined: 02 Dec 2002
Posts: 20
Location: Canada

PostPosted: Sat Nov 20, 2004 3:30 pm    Post subject: name of file? Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1334

PostPosted: Wed Nov 24, 2004 11:37 am    Post subject: Re: name of file? Reply with quote

You have to disable notices displaying. Please read http://www.aprelium.com/forum/viewtopic.php?t=4597 or search for e_notice in this forum for more information.
Back to top View user's profile Send private message
Patrick
-


Joined: 02 Dec 2002
Posts: 20
Location: Canada

PostPosted: Wed Nov 24, 2004 2:00 pm    Post subject: Excellent Reply with quote

thank you for the responce......
_________________
Patrick
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group