|How to connect to my local database server [message #662104]
||Tue, 29 March 2011 10:43
| No real name
Registered: March 2011
I am new to Eclipse PDT.
I want to make database applications with php and Mysql.
But I do not know how to connect Eclipse with my local database server.
I thought that this command would do the job but it didn't work.
I take the following error:
PHP Fatal error: Call to undefined function mysql_connect() in /home/pinkonomy/workspace/aaa/soc.php on line 4
Any suggestions please?
Is there any plug in that connects Eclipse PDT with the database server?
Thanks for your time.
[Updated on: Tue, 29 March 2011 10:50]
Report message to a moderator
|Re: How to connect to my local database server [message #778061 is a reply to message #777179]
||Wed, 11 January 2012 11:08
Registered: July 2009
On 2012-01-10 02:25, Francisco Marzoa wrote:|
> I am not so sure about not being an Eclipse nor PDT issue. I have the same
> problem today with an script that fails similar way but just when running into
> Eclipse. When invoked from command line it works fine. So I think its clear an
> Eclipse/PDT issue.
Most such problems are caused by configuration, so first be sure that your have
needed module. CLI usually uses different configuration or even different
version of PHP.
Of course you can be right about this issue, but first check simple things :)
Powered by FUDForum
. Page generated in 0.02765 seconds