Number of fields needed for mySQL table [message #6796] |
Thu, 24 October 2002 19:44 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
Title says it all.
When setting up a mySQL table for FUD forum to use I need to know how many fields it needs. This doesn't seem to be documented anywhere.
Thanks in advance.
Paul
|
|
|
|
Re: Number of fields needed for mySQL table [message #6816 is a reply to message #6797] |
Fri, 25 October 2002 07:16 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
> Why would you be manually creating a FUDforum's MySQL table?
> The installer does it automatically
Probably because at the top of the second installation page it says "It is recommended you create a separate database for the forum."
Without a premade database I get the error
"Failed to create table fud_users.tbl (DROP TABLE IF EXISTS fud23_users), SQL Reason: No Database Selected"
on the database field of the second page of the installer script.
Sorry, but I can't find anything in the manual about this. It apperas to need a premade mySQL database, but my server needs to know how many fields the database will need.
Thanks
Paul
|
|
|
Re: Number of fields needed for mySQL table [message #6826 is a reply to message #6816] |
Fri, 25 October 2002 12:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Please take no offence, but you clearly are not aware of what you are doing. The forum asks for a database where the forum's tables can be stored. Creation of a database, unless you got one already is done via a single SIMPLE command in MySQL:
CREATE DATABASE database_name;
FUDforum Core Developer
|
|
|
|
|
Re: Number of fields needed for mySQL table [message #6944 is a reply to message #6943] |
Tue, 29 October 2002 17:07 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This error most likely means that the forum was unable to select the database you've specified, that or you did not specify a database name.
FUDforum Core Developer
|
|
|
|
Re: Number of fields needed for mySQL table [message #6956 is a reply to message #6947] |
Tue, 29 October 2002 19:26 |
zapal
Messages: 68 Registered: October 2002 Location: Poland
Karma: 0
|
Member |
|
|
When I was installing fud on my localhost I had similar troubles (as a database server I put 127.0.0.1). It complained it could'nt connect to server or couldn't login or couldn't select database (all of those messages appeared).
When I put mysql unix socket as a server it went ok.
|
|
|
|
Re: Number of fields needed for mySQL table [message #6958 is a reply to message #6957] |
Tue, 29 October 2002 19:55 |
zapal
Messages: 68 Registered: October 2002 Location: Poland
Karma: 0
|
Member |
|
|
Just type in database server:
:/path/to/file
In Debian the path should be /var/run/mysqld/mysqld.sock (as a default value for Mysql).
Check your database configuration to ensure correct paths.
|
|
|