Skip to main content
mbk28
Known Participant
February 13, 2019
Answered

convert website in mysql

  • February 13, 2019
  • 2 replies
  • 664 views

Hi,

I want to convert my website (more than 1000 pages) in mysqli.

Who have an idea to make in lot and not page by page?

I'm on Mac OS X Sierra

thanks in advance

This topic has been closed for replies.
Correct answer Paul-M

I want to convert my website (more than 1000 pages) in mysqli.

Who have an idea to make in lot and not page by page?

Short term solution and really should just be tried/used as a stop-gap. with a view to updating your codebase manually/properly :GitHub - dshafik/php7-mysql-shim: A shim for ext/mysql in PHP 7+

Something else you could try that may help with the conversion: GitHub - philip/MySQLConverterTool: A MySQL Converter Tool

No guarantee or warranty that these tools will be perfect, there's no perfect substitute for a manual approach ....

2 replies

Paul-MCorrect answer
Legend
February 14, 2019

I want to convert my website (more than 1000 pages) in mysqli.

Who have an idea to make in lot and not page by page?

Short term solution and really should just be tried/used as a stop-gap. with a view to updating your codebase manually/properly :GitHub - dshafik/php7-mysql-shim: A shim for ext/mysql in PHP 7+

Something else you could try that may help with the conversion: GitHub - philip/MySQLConverterTool: A MySQL Converter Tool

No guarantee or warranty that these tools will be perfect, there's no perfect substitute for a manual approach ....

Paul-M - Community Expert
Nancy OShea
Community Expert
Community Expert
February 13, 2019

There is no magic button for re-writing old code.  But this article may help a little.

How to Convert MySQL to MySQLi - DZone Web Dev

Nancy O'Shea— Product User & Community Expert
Legend
February 13, 2019

What happened here ... a lot of posts have been removed????

Paul-M - Community Expert
Jon Fritz
Community Expert
Community Expert
February 13, 2019

I'm not sure if there has been any other activity on this post today.

Are you sure you don't have this one mixed up with another?

I haven't seen anything other than Nancy's post and I leave my forum inbox open in the background on my desktop pretty much all day long.