Welcome to Geeklog, Anonymous Wednesday, January 01 2025 @ 11:48 am EST

Geeklog Forums

Install Problems


ocham79

Anonymous
thirsty
Fatal error: Call to undefined function mysql_connect() in C:Inetpubwwwrootsystemdatabasesmysql.class.php on line 112
Looking at the mysql.class.php it looks like it having trouble connecting to my-sql server. I went back to my config.php tried deferent syntax but I’m not having very good luck.

This is the last line I tried and I know it’s off I need a little help thanks. (I did try localhost)



Line 49 in the config file.

$_DB_host = 'http://127.0.0.1:3306'; // host name or IP
 Quote

Status: offline

ajzz

Forum User
Regular Poster
Registered: 01/19/05
Posts: 113
The http:// does not belong there. Just leave it as localhost or localhost:3306 if that port is not implicit.

Hope that works.

Ajay

Edit: in case you didnt know, "localhost" is equivalent to saying "127.0.0.1".
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ocham79: Fatal error: Call to undefined function mysql_connect() in C:Inetpubwwwrootsystemdatabasesmysql.class.php on line 112

In addition to what ajzz wrote, you also seem to be missing MySQL support in your PHP install. You seem to be on Windows, where, IIRC, this is just a DLL you're missing.

bye, Dirk
 Quote

All times are EST. The time is now 11:48 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content