Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!
Moderators: macek, egami, gesf
by darth_linux » Sat Jun 12, 2004 11:57 pm

I'm trying to install phpBB 2 bulletin. I can get up to the install page and once i fill in all the stuff and click on "Install" it gives me this error:
- Code: Select all
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in F:\Program Files\Apache Group\Apache2\htdocs\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in F:\Program Files\Apache Group\Apache2\htdocs\db\mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
:eek:
When I open the mysql4.php in dreamweaver and go to lines 330 & 331 this is what the lines say:
- Code: Select all
$result['message'] = mysql_error($this->db_connect_id);
$result['code'] = mysql_errno($this->db_connect_id);
8-O
Can any one tell me what is wrong with it. Please help.

-
darth_linux
- New php-forum User

-
- Posts: 3
- Joined: Thu Jun 10, 2004 10:24 pm
by Redcircle » Sun Jun 13, 2004 12:02 am
Do you have mysql installed and running as a service?
If yes have you created a database already for phpbb.
phpbb will create your tables. But the database has to be created first
-

Redcircle
- Moderator

-
- Posts: 830
- Joined: Tue Jan 21, 2003 10:42 pm
- Location: Michigan USA
-
by Ben » Mon Jul 26, 2004 3:13 pm
darth_linux wrote::help: I'm trying to install phpBB 2 bulletin.
if i've problems like that, i always ask in the specialized forums to this "software"..
-->
http://www.phpbb.com/phpBB/

-
Ben
- New php-forum User

-
- Posts: 41
- Joined: Mon Jul 26, 2004 2:37 pm
- Location: Remagen / Germany
-
Return to PHP & MySQL Security
Who is online
Users browsing this forum: No registered users and 2 guests