variable database name

后端 未结 3 1127
余生分开走
余生分开走 2020-12-09 03:38

Is there any way in MySQL to put the name of the database into a variable? For example, when I have a database called \'db1\', can I do something like this:

         


        
3条回答
  •  余生分开走
    2020-12-09 04:00

    If you have PHP installed you could use this script to replace the mysql variables to there actual value:

提交回复
热议问题