mysql help..
#1

Quote:

error 017: undefined symbol "db4free"
error 017: undefined symbol "net"

Код:
if (!mysql_connect(db4free.net, pfr123, password, pfrko, conn))
Reply
#2

~.~
PHP код:
mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect 0);
mysql_connect("hostname","username""password""db"); 
Reply
#3

Never use an external database. Especially not a free one like that. This is at least 100 times slower than a local database, and also much less secure because all data is transmitted over the Internet where it can be intercepted. SSL helps somewhat, but it's not a guarantee.

Bottom line: install a local MySQL server, or ask the host to do it. If they refuse, get a better host.
Reply
#4

Nothing wrong with using an external database, if you know what you are doing.
If you`re not sure or speed is of the essence, then use a local one.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)