Installation
Installation
RUN MYSQL GAC COMMAND:
C:\Program Files\Phalanger v2.0>Bin\gacutil -f -i Bin\PhpNetMySql.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
C:\Program Files\Phalanger v2.0>Bin\gacutil -f -i Bin\MySql.Data.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
C:\Program Files\Phalanger v2.0>Bin\gacutil -f -i Bin\ICSharpCode.SharpZipLib.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
COMPILE EXE:
...
App.config Reading configuration:
<add assembly="PhpNetMySql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="mysql"/>
C:\Documents and Settings\Owner\Desktop\project\application\App.config(5,0): error PHP2004: Configuration error: Library assemby 'PhpNetMySql, Version=2.0.0.0 Culture=neutral, PublicKeyToken=2771987119c16a03' could not be loaded. Method not found: 'Void PHP.Core.PhpLIbraryAttribute..ctor(System.Type)'.
App.config:
<configuration>
<phpNet>
<!-- Reference to the extension assembly -->
<classLibrary>
<add assembly="PhpNetMySql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="mysql"/>
</classLibrary>
</phpNet>
</configuration>
- jfburns@codeplex
- Posts: 15
- Joined: January 7th, 2012, 8:57 pm
RE: Installation
- Tomas Matousek
- Posts: 17
- Joined: January 7th, 2012, 8:52 pm
RE: Installation
Below is my Error message:
-------------------------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Library assembly 'PhpNetMySql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03' could not be loaded. Method not found: 'Void PHP.Core.PhpLibraryAttribute..ctor(System.Type)'.
Source Error:
Line 4: <!-- Reference to the extension assembly -->
Line 5: <classLibrary>
Line 6: <add assembly="PhpNetMySql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="mysql"/>
Line 7: </classLibrary>
Line 8: <!-- Optional configuration -->
Source File: c:\inetpub\wwwroot\drupal5\web.config Line: 6
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
- TheMaskedFerret@codeplex
- Posts: 3
- Joined: January 7th, 2012, 8:56 pm
RE: Installation
- snagpaul@codeplex
- Posts: 1
- Joined: January 7th, 2012, 8:59 pm
RE: Installation
I also placed a read-build version in the issuetracker, please mind
the version number change:
http://www.codeplex.com/PhalangerMySQL/WorkItem/View.aspx?WorkItemId=9107
- alley@codeplex
- Posts: 2
- Joined: January 7th, 2012, 8:59 pm
RE: Installation
hi! i have also the same problem i am having problem with the mysql_connect() it somehow not working with the phalanger, also our application is using the mysqli extension which we can used the stored procedure in mysql but unfortunately phalanger have no support for the extension library for this.
By d way i am using the phalanger 2.0 with mysql latest nightly build.
It could be better if u could post here a step by step setup and requirement to run the phalanger and mysql successfully.
i hope u could reply to this thread because we are planning to used this phalanger to our application.
thanks and god bless,
- reygieceliz@codeplex
- Posts: 1
- Joined: January 7th, 2012, 8:59 pm
RE: Installation
Hi,
we didn't notice, sorry. The extension is fixed and updated now to work with the latest Phalanger 2.0. You can download and install the release without any problems now.
Best Regards,
Jakub
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
RE: Installation
Newbie here. I'm getting this error on the console:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL
client in C:\Documents and Settings\Administrator\Desktop\Console App Test\ConsoleAppTest\ConsoleAppTest\Program.php at
expression on line 12, column 1.
I'm using Phalanger 2.0 (January 2011) and MySQL Phalanger 2.0 (January 2011) with Visual Studio 2008 on WinXP.
Please help.
- tcltkdev@codeplex
- Posts: 3
- Joined: January 7th, 2012, 8:38 pm
RE: Installation
Hi tcltkdev,
the extension uses MySQL Connector/Net 6.3.5 (http://dev.mysql.com/downloads/connector/net/). According to their specifications, it supports MySQL 5.0, 5.1, 5.4, 5.5.
The error message was probably thrown by the MySQL server. Are you using SSL ? Because as I noticed now, this option was not enabled in our extension yet.
Best Regards,
Jakub
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
RE: Installation
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Return to MySql Extension project
Who is online
Users browsing this forum: No registered users and 1 guest